Json

JSON.ARRLEN

Report the length of the JSON array at `path` in `key`.

Arguments

keybodystrrequired

The key of the json entry.

pathbodystrrequired

The path of the array. $ is the root.

Response

List[int]required

The length of the array.

Example
length = redis.json.arrlen("key", "$.path.to.array")
Loading search…