Arguments
str
required
The key of the json entry.
str
default:"$"
The path to clear
Response
The length of the array after the appending.
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.
redis.json.clear("key")
redis.json.clear("key", "$.my.key")
Was this page helpful?