Arguments
...string[]
required
One or more keys of JSON documents.
string
default:"$"
The path to get from the JSON document.
Response
The values at the specified path or
null if the path does not exist.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
const values = await redis.json.mget(["key1", "key2"], "$.path.to.somewhere");
Get the same path from multiple JSON documents.
null if the path does not exist.const values = await redis.json.mget(["key1", "key2"], "$.path.to.somewhere");
Was this page helpful?