Syntax & Cheat Sheet
JSONPath Syntax Guide.
Learn how to navigate, query, and extract data from JSON payloads with JSONPath expressions.
JSONPath Operators Reference
| Operator | Expression | Meaning |
|---|---|---|
| $ | $ | The root object / element. |
| . | $.store.book | Dot child operator. |
| .. | $..author | Recursive descent (all descendant author keys). |
| * | $.store.book[*] | Wildcard for all child elements or properties. |
| [n] | $.users[0] | Array index (0-based). |
| [?()] | $[?(@.price > 20)] | Filter expression on array items. |
Interactive Testing
You can practice and test your JSONPath expressions in real-time on any sample data in our JSONPath Tester.