Json

JSON.MERGE

Merges the JSON value at path in key with the provided value.

Arguments

keybodystrrequired

The key of the json entry.

pathbodystrrequired

The path of the value to set.

valuebodyTValuerequired

The value to merge with.

Response

truerequired

Returns true if the merge was successful.

Example
redis.json.merge("key", "$.path.to.value", {"new": "value"})
Loading search…