Arguments
str
required
The key of the json entry.
str
required
The path of the value to set.
string | number | Record<string, unknown> | Array<unknown>
required
The value to merge with.
Response
Returns “OK” if the merge was successful.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
await redis.json.merge("key", "$.path.to.value", {"new": "value"})
Merges the JSON value at path in key with the provided value.
await redis.json.merge("key", "$.path.to.value", {"new": "value"})
Was this page helpful?