Dynamic Name support - 6.3

Talend Data Mapper User Guide

EnrichVersion
6.3
EnrichProdName
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend Studio

In certain cases, JSON names are actually a dynamic value corresponding to some data in the transformation. However in the structure definition, a static element name is required. To handle this, we use the jsonName attribute of the element in question. If the jsonName attribute is specified, on input, it indicates the element in that position may have a different name, and it will correctly read the element's value. On output, it is used to set the name of the element in JSON to whatever value is required.