Skip to main content

JSONPath Tester

Test JSONPath expressions against JSON data and see results instantly.

jsonpathquerytest
Read the guide
Shortcuts:⌘ KSearch
Result count: 0

Frequently Asked Questions

Do I have to start the expression with $?

Yes. This parser explicitly throws an error unless the first character is $.

Which JSONPath features actually work in this tester?

It supports dot and bracket property access, wildcards, numeric and negative indexes, recursive descent with ..prop or ..*, and simple filter expressions.

Why does [1:3] or a union like [0,2] fail here?

Those forms are not implemented in this component. Unsupported syntax throws an error near the part of the path it cannot tokenize.

Can I filter by comparisons like price < 10?

Yes. Filters support ==, !=, <, >, <=, >=, plus existence checks such as [?(@.isbn)] on arrays.

Why are the results always wrapped in an array?

The evaluator always returns the full match list, even when there is only one result. The count badge shows how many nodes matched.

Related Tools