Skip to main content
Use this mapper to combine the input with a set of data you supply, producing a single merged result. Where both sides share the same key, the value you supply wins and replaces the one from the input; keys that exist on only one side are kept as they are. The merge also reaches into nested objects, so you can update a field deep inside a structure without rewriting the whole thing. This is handy for adding fixed defaults or overriding a few fields on every record.

Fields

Sample data

This example overrides one attribute and adds a new one on a product’s attributes.
FieldValue
Data{ "size": "L", "material": "wool" }
Input:
{
    "color": "red",
    "size": "M"
}
Output:
{
    "color": "red",
    "size": "L",
    "material": "wool"
}
The size value is overwritten with L, the new material field is added, and color is left untouched.