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
Filters 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: