JSONPath
JSONPath is a query language for JSON structures.
For example, to query the titles of all the books in a store:
$
selects the root element.
selects a child of the current element*
selects all elements within an object or array
JSONPath Plus
The JSON API data source uses the JSONPath Plus package to evaluate JSONPath expressions. JSONPath Plus extends the original specification with additional features.
For more information on the supported syntax, refer to the project page.
#
FiltersFilters let you query elements based on a logical expression.
For example, to query the titles of the books that cost more than 10:
?()
defines a filter expression@
selects the element that's currently being processed
Filter expressions support a set of boolean and logical operations:
- Boolean operations:
!
,&&
,||
- Comparison:
>
,<
,>=
,<=
- Equality:
==
,!=