| Syntax element | Description |
|---|---|
| $ | The root (outermost JSON element), starts the path. |
| . or [] | Selects a child element. |
| .. | Recursively descends through the JSON document. |
| * | Wildcard, returns all elements. |
| [] | Subscript operator, accesses an array element. |
| [,] | Union, selects multiple elements. |
| [start:end:step] | Array slice where start, end, and step are indexes. |
| ?() | Filters a JSON object or array. Supports comparison operators (==, !=, <, <=, >, >=, =~), logical operators (&&, ||), and parenthesis ((, )). |
| () | Script expression. |
| @ | The current element, used in filter or script expressions. |
Copied from: https://redis.io/docs/data-types/json/path/

浙公网安备 33010602011771号