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.
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