JSONPath Syntax
JSONPath expressions start with $ (root object) and use dot notation ($.property) or bracket notation ($['property']) for access. Child nodes use . separator ($.store.book), arrays use [index] or [*] for all items. Array slicing [start:end:step] extracts ranges like [0:3] (first 3 items) or [-1] (last item). Recursive descent operator .. searches all levels: $..author finds all author properties regardless of nesting depth. Union operator [,] selects multiple items: $[0,2,5] gets specific array indices.