Azlaan Electric AC Solar Center — Solar, CCTV, AC & electrical work, Faisalabad Call: 0300-8987448

JSONPath Tester

Testing JSONPath expressions by hand is slow and error-prone. Paste your JSON, type an expression like $.store.book[*].title, and see the path and value of every match instantly. The preset examples above the editor cover filtering, slicing and recursive search.

Examples:

Matches: 0

Supported syntax

ExpressionMeaning
$.a.bChild property
$['a']Bracket child (for special names)
$[0], $[-1]Array index, from the end
$[1:4], $[::2]Slice (start:end:step)
$.* , $[*]All children (wildcard)
$..nameRecursive descent — the name at every depth
[?(@.price < 10)]Filter: == != < <= > >=, && || !
$[0,2,'a']Union — multiple indexes or keys

How to use

  1. Paste your JSON in the box above (or click Sample JSON).
  2. Write a JSONPath expression or click an example button.
  3. Click Test Expression — the path and value of every match will appear below.