Skip to main content

Merge JSON objects

Merge multiple JSON objects into one. The merge is shallow: only top-level keys are combined, and when the same key appears in several inputs, the value from the later input wins.

Parameters​

Key

Optional wrapper key. When set, the merged object is wrapped under this single key: the output becomes {"<key>": <merged object>} instead of the merged object itself.

Input​

JSON Elementrequired

The JSON objects you want to merge. The connector is Unlimited: wire each upstream object to it. It also accepts an Array of objects or a JSON array — the array is flattened and its elements are merged one by one. Any element that is not an object fails the step.

Output​

JSON Element

The merged JSON object (or, if "Key" is set, an object with the merged result nested under that key).