AssociateArrayByFieldConfigStructure
Version #1
Description:
Todo
No description for this structure
Fields:
arrayPath: String [Optional]- Default: arrayDescription: Defines the path which will be read from the input object. This must point to an (optional) array.
keyPath: String [Required]- Description: Defines the path which will be read from every array element. This value will be the key in the resulting object. The key must point to a primitive type field (Not primitive fields will be skipped.)
mappingType: Enum<array | lastvalue | mergevalues> [Optional]- Default: ArrayDescription: Defines how the mapping works. When using
Arrayit will result an object with array fields, when usingLastValueit will result an object with the last value in the array according to it’s key, when usingMergeValuesall occurring values will be merged to the key field in the order of the array.