Transformer: Add values to list elements
Discover more about Transformer and how to add values to list elements on the Digibee Integration Platform.
Add a Fixed value to different list elements
Input
{
"happy": "true",
"statistics": [
{
"id": "A",
"min": "2.0",
"max": "10.0",
"avg": "7.9"
},
{
"min": "6",
"max": "6",
"avg": "6"
},
{
"id": "C"
}
]
}Transformer Spec
Output
Add Dynamic Values
To add a dynamic value, use the following Transformer Spec structure:
Note: in the above example, the number "3" indicates the number of levels that must be uploaded to access the JSON object. To better understand it, see the example below:
Input
Transformer Spec
Was this helpful?