...
JSONPath | Result |
---|---|
$.store.book[*].author | The authors of all books in the store |
$..author | All authors |
$.store.* | All things in store, which are some books and a red bicycle. |
$.store..price | The prices of everything in the store. |
$..book[2] | The third book |
$..book[-1:] | The last book |
$..book[0,1] or $..book[:2] | The first two books |
$..book[?(@.isbn)] | Filter to find all books with ISBN numbers |
$..book[?(@.price<10)] | Filter all books cheaper than 10 |
$..book[?(@.title like '/^M\w+/')] | Filter al books with a title that starts with 'M' |
$..* | All members of JSON structure. |
...