Arguments
str
required
The key of the json entry.
*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.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
value = redis.json.get("key", "$.path.to.somewhere")
value = redis.json.get("key", {
indent: " ",
newline: "\n",
space: " ",
}, "$.path.to.somewhere")
Get a single value from a JSON document.
null if the path does not exist.value = redis.json.get("key", "$.path.to.somewhere")
value = redis.json.get("key", {
indent: " ",
newline: "\n",
space: " ",
}, "$.path.to.somewhere")
Was this page helpful?