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

Arguments

key
str
required
The key of the json entry.
path
str
default:"$"
The path of the object.

Response

The number of keys in the objects.
lengths = redis.json.objlen("key", "$.path")