Json

JSON.DEL

Delete a key from a JSON document.

Arguments

keybodystrrequired

The key of the json entry.

pathbodystrrequired

The path to delete. $ is the root.

Response

intrequired

How many paths were deleted.

Example
redis.json.del("key", "$.path.to.value")
Loading search…