Arguments
str
required
The key of the json entry.
str
required
The path to clear.
$ is the root.Response
How many keys cleared from the objects.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
redis.json.clear("key")
redis.json.clear("key", "$.my.key")
Clear container values (arrays/objects) and set numeric values to 0.
$ is the root.redis.json.clear("key")
redis.json.clear("key", "$.my.key")
Was this page helpful?