values = redis.json.mget(["key1", "key2"],  "$.path.to.somewhere")

Arguments

keys
*List[str]
required

One or more keys of JSON documents.

path
str
default: "$"

The path to get from the JSON document.

Response

The values at the specified path or null if the path does not exist.

Was this page helpful?