JSONPath Tester
Test JSONPath expressions against a JSON document. Supports the common subset:
$, ., .., [*], [?(@.field == 'x')],
[0,1,2], [1:3]. See matched values and their full paths.
JSONPath syntax
| Expression | Meaning |
|---|---|
$ | Root |
$.users | Child users |
$.users[0] | First element |
$.users[*] | All elements |
$.users[*].name | name of all elements |
$..name | name anywhere in the tree (recursive descent) |
$.users[?(@.age > 18)] | Filter by predicate |
$.users[0:3] | Slice — first three |