Json

JSON.MGET

Get the same path from multiple JSON documents.

Arguments

keysbodyList[str]required

One or more keys of JSON documents.

pathbodystrrequired

The path to get from the JSON document.

Response

List[List[TValue]]required

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

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