JSON Path Evaluator
Query and extract data from JSON using path expressions.
Examples: $.store.book[*].author, $..price, $.users[?(@.age > 25)]
Quick Queries
About the JSON Path Evaluator
JSONPath is a query language for JSON, like XPath for XML. An expression such as $.users[0].name picks values out of a JSON document.
How to use it
- 1 Paste your JSON.
- 2 Type a JSONPath expression starting with $.
- 3 See the matching values update as you type.
Frequently asked questions
What does $ mean in JSONPath?
$ is the root of the document. $.name selects the top-level "name" field.
How do I select every item in an array?
Use [*]. For example, $.books[*].title returns the title of every book.
What does .. do?
The double dot searches at any depth. $..price returns every "price" field anywhere in the document.