value = redis.json.get("key", "$.path.to.somewhere")

Arguments

key
str
required

The key of the json entry.

options
paths
*List[str]
default: "$"

One or more paths to retrieve from the JSON document.

Response

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

Was this page helpful?