Arguments
str
required
The key of the json entry.
str
required
The path of the boolean.
$ is the root.Response
The new value of the boolean.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
bool = redis.json.toggle("key", "$.path.to.bool")
Toggle a boolean value stored at path.
$ is the root.bool = redis.json.toggle("key", "$.path.to.bool")
Was this page helpful?