- Deprecated Help Center
- Working with the iPaaS
- How to videos
Map Multiple Keys at Once
This article explains how to change several key names at once.
Goal: we want to change “qty” to “qtyOrdered” and change “row_total” to “row_total_incl_vat”`
Initial data:
{
"row_total": 250,
"qty": 67
}
Create a new transformer: Connections -> transformers -> + for a new one
Data, transform data using mappers and conditions
Transformer: key mapper -> key accessor
Mappers: dictionary map -> string - qty -> string - qtyOrdered -> string - row_total -> string - row_total_incl_vat
Comparator: Equals
Result:
{
"row_total": 250,
"qtyOrdered": 67
}