Property Mapper
Component Configuration
Parameter Name | Parameter Property | Description |
---|---|---|
Default Source | defaultSource | Data value to be used in the mapper expressions if not overridden within the mapper definition. |
Default Expression Type | defaultExpressionType | One of: jmespath , jsonpath , jsonata , javascript |
Property Maps | propertyMaps | Array objects that descrbe how to map source to target properties. propertyMaps: [{ source, expressionType, mappings }] |
Property Maps / Source Data | source | The data value to be used for the expressions in this set of property mappings. |
Property Maps / Expression Type | expressionType | One of: jmespath , jsonpath , jsonata , javascript |
Property Maps / Mappings | mappings | Array of objects that map a target property to an expression to be evaluated. mappings: [{ targetProperty, sourceExpression }] |
Property Maps / Mappings / Target Property | targetProperty | The path in the final object that should contain the evaluated source expression. |
Property Maps / Mappings / Source Expression | sourceExpression | Expression to be evaluated and mapped to the specified target property. |
Important Note
The sequence of the mapping is non-deterministic. Therefore, it is important that the specied targetProperties are not overlapping in any way.