Skip to main content

Arguments

keys
...string[]
required
One or more keys of JSON documents.
path
string
required
The path to get from the JSON document. $ is the root.

Response

The values at the specified path or null if the path does not exist.
const values = await redis.json.mget(["key1", "key2"],  "$.path.to.somewhere");