lengths = redis.json.objlen("key", "$.path")

Arguments

key
str
required

The key of the json entry.

path
str
default: "$"

The path of the array.

Response

The number of in the objects.

lengths = redis.json.objlen("key", "$.path")