const keys = await redis.json.objkeys("key", "$.path");

Arguments

key
string
required
The key of the json entry.
path
string
default:"$"
The path of the array.

Response

The keys of the object at the path.
const keys = await redis.json.objkeys("key", "$.path");