Try: $.store.book[0].title or $..price
What is JSONPath?
JSONPath is a query language for JSON, similar to XPath for XML. It allows you to select and extract specific data from complex JSON structures.
When working with large API payloads, finding specific deep nested objects or arrays can be tedious.
With JSONPath, you can use expressions like `$.store.book[*].author` to instantly retrieve a list of all authors from a JSON dataset. This tool evaluates your expressions against your JSON payload in real-time.
1How to Use
- 1. Paste your JSON document into the left text box.
- 2. Type your JSONPath expression in the top input field.
- 3. The result of your query will automatically appear on the right.