diff --git a/README.md b/README.md index 10d130ef..81c132e8 100644 --- a/README.md +++ b/README.md @@ -77,23 +77,23 @@ Given the json } ``` -| JSONPath (try it by clicking link)| Result | +| JSONPath (click it to try it)| Result | | :------- | :----- | -| $.store.book[*].author| The authors of all books | -| `$..author` | All authors | -| `$.store.*` | All things, both books and bicycles | -| `$.store..price` | The price of everything | -| `$..book[2]` | The third book | -| `$..book[(@.length-1)]` | The last book | -| `$..book[0,1]` | The first two books | -| `$..book[:2]` | All books from index 0 (inclusive) until index 2 (exclusive) | -| `$..book[1:2]` | All books from index 1 (inclusive) until index 2 (exclusive) | -| `$..book[-2:]` | Last two books | -| `$..book[2:]` | Book number two from tail | -| `$..book[?(@.isbn)]` | All books with an ISBN number | -| `$.store.book[?(@.price < 10)]` | All books in store cheaper than 10 | -| `$..book[?(@.price <= $['expensive'])]` | All books in store that are not "expensive" | -| `$..*` | Give me every thing | +| $.store.book[*].author| The authors of all books | +| $..author | All authors | +| $.store.* | All things, both books and bicycles | +| $.store..price | The price of everything | +| $..book[2] | The third book | +| $..book[(@.length-1)] | The last book | +| $..book[0,1] | The first two books | +| $..book[:2] | All books from index 0 (inclusive) until index 2 (exclusive) | +| $..book[1:2] | All books from index 1 (inclusive) until index 2 (exclusive) | +| $..book[-2:] | Last two books | +| $..book[2:] | Book number two from tail | +| $..book[?(@.isbn)] | All books with an ISBN number | +| $.store.book[?(@.price < 10)] | All books in store cheaper than 10 | +| $..book[?(@.price <= $['expensive'])] | All books in store that are not "expensive" | +| $..* | Give me every thing | Reading a document