JSONPath Tester

Test JSONPath expressions against a JSON document. Supports the common subset: $, ., .., [*], [?(@.field == 'x')], [0,1,2], [1:3]. See matched values and their full paths.

JSONPath syntax

ExpressionMeaning
$Root
$.usersChild users
$.users[0]First element
$.users[*]All elements
$.users[*].namename of all elements
$..namename anywhere in the tree (recursive descent)
$.users[?(@.age > 18)]Filter by predicate
$.users[0:3]Slice — first three