Code
json
// Document:
{ "store": { "book": [
{ "category": "ref", "author": "Nigel Rees", "price": 8.95 },
{ "category": "fic", "author": "Evelyn Waugh", "price": 12.99 }
] } }
// JSONPath queries:
$.store.book[*].author // all authors
$.store..price // all prices (recursive descent)
$..book[?(@.price < 10)] // books cheaper than 10
$..book[-1] // last book
$.store.* // all members of store