Json
JSON.OBJLEN
Report the number of keys in the JSON object at `path` in `key`.
Arguments
keybodystrrequired
The key of the json entry.
pathbodystrrequired
The path of the object. $ is the root.
Response
List[int]required
The number of keys in the objects.
Example
lengths = redis.json.objlen("key", "$.path")