Json
JSON.OBJKEYS
Return the keys in the object that`s referenced by path.
const keys = await redis.json.objkeys("key", "$.path");
Arguments
key
string
requiredThe key of the json entry.
path
string
default: "$"The path of the array.
Response
The keys of the object at the path.
Was this page helpful?
const keys = await redis.json.objkeys("key", "$.path");