JSON Path
Query JSON data using JSONPath expressions
$
Common examples:
.key, [0], [*], [?(@.price < 10)]JSONPath Syntax Reference
| Expression | Description | Example |
|---|---|---|
$ | Root element | $ |
.key | Child element | $.store.name |
[n] | Array index | $.books[0] |
[*] | All elements | $.books[*] |
[start:end] | Array slice | $.books[0:3] |
[?()] | Filter expression | $[?(@.price < 10)] |