Skip to main content

JSONPath Tester

Test and debug JSONPath expressions with real-time results

0 characters

JSONPath Quick Reference:

$ - Root object
@ - Current object
.property - Dot notation
['property'] - Bracket notation
[n] - Array index
[*] - All array elements
[start:end] - Array slice
[-n] - Last n elements
.. - Recursive descent
?(expr) - Filter expression
@.price - Current item property
==, !=, <, > - Comparisons

About JSONPath

JSONPath is a query language for JSON, similar to XPath for XML. It allows you to extract specific data from complex JSON structures using path expressions.

Example: $.store.book[?(@.price < 10)].title finds all book titles where price is less than 10.