JSONPath Playground
JSON input
JSONPath expression
Highlighted JSON
Matches
Supported syntax
$ root · .key / ['key'] child access ·
..key recursive descent (finds key at any depth) ·
[*] / .* wildcard · [0], [0,2] indices ·
[1:3], [::2], [-2:] slices (Python-style, negative
indices count from the end) · [?(@.price < 10)] filter expressions
supporting == != < <= > >=, &&,
||, !, and parentheses against the current item (@).
This is a hand-written evaluator implementing the common Goessner JSONPath semantics most
tools follow — it is not a JavaScript engine, and filter expressions can't call functions or
reference anything outside the current item.