JSONPath Tester - Query & Extract JSON Data Online
Test JSONPath expressions with live results. Extract data from JSON using path queries. See matches highlighted, test filters and wildcards.
Example:
$.store.book[*].author
Common JSONPath Patterns
$
Root object - returns entire JSON
$.store.book[*].author
All book authors - wildcards select all array elements
$..author
Recursive descent - all 'author' fields at any depth
$.store.*
All properties under 'store'
$.store.book[0]
First book - array index
$.store.book[-1]
Last book - negative index
$.store.book[0,2]
First and third books - multiple indices
$.store.book[?(@.price < 10)]
Filter expression - books under $10
$['name','email']
Union operator - multiple properties