length = redis.json.arrlen("key", "$.path.to.array")

Arguments

key
str
required

The key of the json entry.

path
str
default: "$"

The path of the array.

Response

The length of the array.

Was this page helpful?