Json

JSON.CLEAR

Clear container values (arrays/objects) and set numeric values to 0.

Arguments

keybodystrrequired

The key of the json entry.

pathbodystrrequired

The path to clear. $ is the root.

Response

List[int]required

How many keys cleared from the objects.

Example
redis.json.clear("key")
With path
redis.json.clear("key", "$.my.key")
Loading search…