Arguments
string
required
The key of the json entry.
string
required
The path to clear.
$ is the root.Response
How many values were cleared.
Clear container values (arrays/objects) and set numeric values to 0.
$ is the root.Related topics
JSON.CLEARRedis® API Compatibility: supported commands, modules, and protocolsOverviewTanStack AI Chat Persistance