JSONPath is a query language for JSON. A JSONPath expression specifies a path to an element in a JSON structure.

JSONPath notation

JSONPath expressions, including property names and values, are case-sensitive.

Paths use the dot notation: $.store.book[0].title

$The root object or array.
.propertySelects the specified property in a parent object.
[n]Selects the n:th element from an array. Indexes are 0-based.


An index, as referred to by 'n' in the above table, may be replaced with an iterator expression.
Doing so means the index referred to by 'n' will start at 0 and then increment at an interval.

Means 'n' starts at 0 and increments by 1 every 20 seconds.