How to use Simple JSONPath Selector
Select JSON data using $ root, dot identifiers, numeric array indices, quoted bracket keys and wildcard segments. Filters, scripts and recursive descent are unsupported.
- Set Text.
- Set Query.
- Run the tool, review the result and its stated limitations, then copy or download if needed.
Example & practical use
Select JSON data using $ root, dot identifiers, numeric array indices, quoted bracket keys and wildcard segments. Filters, scripts and recursive descent are unsupported. The example below demonstrates Text; Query.
Example input:
{
"text": "{\"items\":[{\"id\":1},{\"id\":2}]}",
"query": "$.items[*].id"
}
Expected result (relevant fields):
[
1,
2
]Features & result limitations
Select JSON data using $ root, dot identifiers, numeric array indices, quoted bracket keys and wildcard segments. Filters, scripts and recursive descent are unsupported.
Frequently asked questions
What inputs does Simple JSONPath Selector accept?
Text; Query
How should I interpret the Simple JSONPath Selector result?
Select JSON data using $ root, dot identifiers, numeric array indices, quoted bracket keys and wildcard segments. Filters, scripts and recursive descent are unsupported.
Where does Simple JSONPath Selector process my data?
Inputs are processed locally in your browser. Submitted text is not sent to external services. A successful-run event increments an aggregate tool counter without your input.