Arguments
string
required
The key of the json entry.
string
required
The path of the object.
$ is the root.Response
The number of keys in the objects.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
const lengths = await redis.json.objlen("key", "$.path");
Report the number of keys in the JSON object at path in key.
$ is the root.const lengths = await redis.json.objlen("key", "$.path");
Was this page helpful?