Every title in a list
Du skriver inn
- JSON-data
- {"shop":{"books":[{"title":"A","price":8},{"title":"B","price":12},{"title":"C","price":8}]}}
- Bane
- $.shop.books[*].title
Du får
- Verdi
- Støttede syntaksformer: [0], ["key"], [*] og enkle likhetsfiltre.
The [*] visits each book, and .title takes the title from each. Several matches come back as a list.
Kjørt med verktøyets egen kode.