Contact

JSONPath Tester

Try a JSONPath against a JSON document and see what matches.

JavaScript-side JSONPath: $.key, [index], [*], and ..key. Filters are not supported.

Matches
2
[
  "Tip",
  "Dice"
]

Calculations happen in your browser.

Worked example

Against {"tools":[{"name":"Tip"},{"name":"Dice"}]}, the path $.tools[*].name returns ["Tip","Dice"]. $.tools[0].name returns ["Tip"].

FAQ

Which JSONPath features work?
$.key, bracket indexes, [*], quoted keys, and ..key for a deep search. Filters and script expressions are not supported.
Why is the result always an array?
The path can match more than one node, so every match is returned in a list, even when there is only one.
What does $ mean?
The root of the document. A path has to start with it.