JSON Path Finder
Extract specific data from complex JSON structures using JSONPath expressions.
JSONPath Information
Basic Syntax
$ | Root object/element |
@ | Current object/element |
. | Child operator |
.. | Recursive descent |
* | Wildcard (all elements) |
[n] | Array index |
[start:end] | Array slice |
[?(expr)] | Filter expression |
Example Expressions
-
$.store.book[*].author
Find all authors in all books
-
$..book[?(@.price < 10)]
Find books cheaper than $10
-
$..[0,1]
Find first two elements in any array
-
$..book[(@.length-1)]
Get the last book