> ## Documentation Index
> Fetch the complete documentation index at: https://upstash.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# JSON.MERGE

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

## Arguments

<ParamField body="key" type="str" required>
  The key of the json entry.
</ParamField>

<ParamField body="path" type="str" required>
  The path of the value to set.
</ParamField>

<ParamField body="value" type="TValue" required>
  The value to merge with.
</ParamField>

## Response

<ResponseField type="true" required>
  Returns true if the merge was successful.
</ResponseField>

<RequestExample>
  ```py Example theme={"system"}
  redis.json.merge("key", "$.path.to.value", {"new": "value"})
  ```
</RequestExample>


## Related topics

- [JSON.MERGE](/docs/redis/sdks/ts/commands/json/merge.md)
- [Changelog](/docs/redis/overall/changelog.md)
- [Update](/docs/vector/sdks/py/example_calls/update.md)
- [Document Updates](/docs/redis/search/document-updates.md)
- [Redis® API Compatibility: supported commands, modules, and protocols](/docs/redis/overall/compatibility.md)
