Dev Toys

JSONPath Tester

Query JSON with a JSONPath expression and inspect every match

JSON
Result

Matches appear here as you type.

Cheat sheet
$Root object
@Current object (inside filters)
.name / ['name']Child property, dot or bracket notation
..nameRecursive descent
* / ..*Wildcard / every descendant
[0] / [-1]Array index; negative counts from the end
[0,2] / ['a','b']Several indexes or names
[start:end:step]Array slice
[?(@.price < 10)]Filter expression
@.a == 1 && @.bComparisons, &&, || and !