Help Centre › Functions & Formulas
Deep-merge two JSON objects.
Add it to a process
In the process designer, open the Add step tab. Find Merge JSON objects under Data › JSON, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| Base JSON object | Yes | The base object to merge into |
| Override JSON object | Yes | The object to merge on top of the base |
| Variable | Yes | Variable name to store the result Default: data. |
| Deep merge | No | Perform a deep merge (recursively merge nested objects) Default: on. |
What it gives back
{data}– Merged JSON
See all Data steps.
Errors
| Error | Description |
|---|---|
| Invalid JSON | One or both inputs are not valid JSON |
Tips
- The override object wins on key conflicts
- Set deep to true to merge nested objects recursively instead of replacing them