Json
JSON.OBJKEYS
Return the keys in the object that`s referenced by path.
Arguments
keybodystringrequired
The key of the json entry.
pathbodystringrequired
The path of the array. $ is the root.
Response
string[][]required
The keys of the object at the path.
Example
const keys = await redis.json.objkeys("key", "$.path");