Add
Add a new key-value pair to the record.
Example
This example shows how to use the Add transformation to add a new key-value pair to a record.
{
"operation": "add",
"arguments": {
"key": "new_field",
"value": "new_value"
}
}
Given the input record:
{
"existing_field": "existing_value"
}
The output record will be:
{
"existing_field": "existing_value",
"new_field": "new_value"
}