Paste JSON, write a path, see matches. Live evaluation in your browser.
—
| Syntax | Meaning |
|---|---|
$ | Root |
.foo or ['foo'] | Child property |
..foo | Recursive descent — find foo anywhere in the tree |
* or [*] | Wildcard — all properties / all array items |
[0] [-1] | Array index (negative counts from end) |
[0:3] [::2] | Array slice with optional step |
[?(@.price < 10)] | Filter — items where the condition holds |
$.data[*].id — extract IDs from an array of objects$..price — every price anywhere in the doc$.users[?(@.active == true)].email — emails of active usersQuery evaluation runs in your browser.