JSONPath Tester

Pick values out of JSON with a JSONPath expression: filters, slices, matches at any depth. Each match shows its path and line, with a hint when nothing matches.

What it does

JSONPath pulls the values you need out of JSON with a single string: $.store.book[*].author collects all the authors, $..price finds prices at any depth, and $.store.book[?@.price < 10] keeps only the cheap books.

The RFC 9535 standard is supported in full: names and indexes, negative indexes, slices like [1:5:2], unions like ['a','b'], filters with &&, || and !, comparisons, and the functions length, count, match, search, value.

The old syntax still works: ?(@.price < 10) inside parentheses, @.length, [(@.length-1)], and =~. Anything that gets translated to the standard syntax is named in the hints.

Rate this tool

Help us get better

Other tools