JSONPath Query
Runs in your browserFilter JSON, inspect matched paths and values, and copy matches as a JSON array.
| Path | Value |
|---|
How to use
Steps
- Paste an API response or other JSON data into JSON input. The root can be an object, array, or scalar.
- Enter a query beginning with
$in JSONPath expression. Use dots for fields and square brackets for indexes or keys with spaces. Use*to match all children. - Select Run query. Inspect each value's location under Matched paths. Copy result copies the full JSON array.
Example
Paste the sample JSON and run $.data.items[*].id. The result is ["0012", 9007199254740993123].
{"data":{"items":[{"id":"0012"},{"id":9007199254740993123}]}}
Tips
$..idfinds matching keys recursively,$.items[-1]selects the final item, and$["first name","id"]selects two keys at once.- Queries return up to 2,000 items. The table previews the first 50 matches. Copy includes all matches and preserves large integers.