JSONPath Query
Online JSONPath query and data extraction
Examples:
JSON Input
JSONPath Expression
Query Result
Results will appear here after query execution
JSONPath Syntax Reference
| Expression | Description | Example |
|---|---|---|
$ | Root node | $ |
.property | Child property | $.store.book |
..property | Recursive search | $..author |
* | Wildcard, match all | $.store.* |
[n] | Array index | $.store.book[0] |
[n,m] | Multiple indices | $.store.book[0,2] |
[start:end] | Array slice | $.store.book[0:2] |
[?(expr)] | Filter expression | $.store.book[?(@.price<10)] |
@ | Current node (for filters) | [?(@.price<10)] |
JSONPath Query Tool User Guide
Features
- JSONPath Query - Standard JSONPath syntax for data extraction
- Recursive Search - Use
..to recursively find all matching nodes - Filter Expressions - Support
?(@.prop)conditional filtering - Array Operations - Support index, slice, multi-select
Use Cases
- Quick extraction from API response data
- Locate data in complex JSON structures
- Batch query JSON configuration files
- Data debugging and analysis