JSONPath Tester
JSONPath Tester - free online developer tool. 100% client-side: your data never leaves your browser.
Test and validate JSONPath expressions against your JSON data.
JSONPath Expression
Result
JSONPath Reference
Basic Syntax
| Symbol | Description |
|---|---|
| $ | Root object |
| @ | Current object |
| . | Child operator |
| .. | Recursive descent |
| * | Wildcard. All objects/elements |
| [] | Subscript operator |
| [,] | Union operator |
Examples
| JSONPath | Description |
|---|---|
| $.store.book[0] | First book |
| $.store.book[-1] | Last book |
| $.store.book[0,1] | First two books |
| $.store.book[*] | All books |
| $.store.book[*].author | All authors |
| $.store.book[?(@.price < 10)] | Books less than 10 dollars |
| $..book[?(@.isbn)] | All books with ISBN |