Loading...
Test JSONPath expressions online for free. Query JSON data with path syntax. See matching results.
Test JSONPath queries on JSON data
$.store.book[0]Access first book in array
$.store.bicycle.colorAccess nested property
$.store.book[1].priceAccess property in array item
Enter your JSON data
Create JSONPath query ($.store.book[0])
Execute and see matching results
Use extracted data in your code
Enter your JSON data
JSONPath is a query language for JSON, similar to XPath for XML. Use it to extract specific values from JSON.
Use bracket notation: $.items[0] for first item, $.items[2] for third item.
$ represents the root of the JSON document. All paths start with $.
Basic JSONPath in this tool supports dot notation and array indexing. For advanced filtering, use full JSONPath libraries.