Copy-paste your JSON here
Test Result
JSONPath Tester
Features
- Test JSONPath Expressions: Evaluate JSONPath queries against JSON data.
- Error Handling: Displays detailed error messages for invalid JSON or JSONPath input.
- Save Results: Copy or save the query results as a file.
How to Use
-
Input JSON Data:
- Paste or type your JSON content into the input editor.
-
Enter JSONPath Expression:
- Type the JSONPath expression you want to evaluate.
-
Evaluate JSONPath:
- Click the "Test" button to execute the JSONPath query.
-
View and Save Results:
- The query results will appear in the output editor.
- Copy the result or save it as a file.
Example
JSONPath Testing Example
Input JSON:
{
"store": {
"book": [
{ "category": "fiction", "author": "Herman Melville", "title": "Moby Dick", "price": 8.99 },
{ "category": "fiction", "author": "J.K. Rowling", "title": "Harry Potter", "price": 12.99 }
],
"bicycle": { "color": "red", "price": 19.95 }
}
}
JSONPath Expression:
$.store.book[*].author
Output:
[
"Herman Melville",
"J.K. Rowling"
]