JSONPath Query
Extract data from JSON using JSONPath expressions.
JSONPath Query:
JSON Input
Query Result
JSONPath Quick Reference
Basic Syntax
$
- Root object.
- Child operator..
- Recursive descent*
- Wildcard
Array Operations
[n]
- Array index[-n]
- Last n elements[start:end]
- Array slice[*]
- All elements
Filter Expressions
[?(@.key)]
- Has property[?(@.age > 18)]
- Comparison[?(@.price < 10)]
- Numeric filter[?(@.category == "fiction")]
- String match