JSONPath Operator Quick Reference
| Operator | Description | Example Expression |
|---|---|---|
| $ | Root node | $ |
| . or [] | Child member operator | $.store.book |
| .. | Recursive descent scan | $..price |
| * | Wildcard matching all elements | $.store.book[*] |
| ?() | Filter expression | $.book[?(@.price < 10)] |
Frequently Asked Questions
What is JSONPath?
JSONPath is a standardized query language for JSON data (similar to XPath for XML). It allows developers to search, slice, and extract specific nodes or arrays from deep JSON payloads.
What does the $ symbol mean in JSONPath?
The $ operator represents the root element of the JSON document. All JSONPath expressions begin with $.
What is the difference between . and .. in JSONPath?
A single dot (.) accesses an immediate child property, while double dots (..) trigger a recursive scan, matching matching property keys anywhere in the nested object tree.

