Convert Object Node to Array
The Convert Object Node to Array mapping takes a JSON object or array from the from path and transforms it into a JSON array. If the input is a JSON object, the values are extracted and put into an array. If it's already an array, it's copied as-is. The resulting array is inserted at the to path in the message.
Attributes for Convert Object Node to Array
| Attribute | Required | Description |
|---|---|---|
| From | Yes | Defines the source field for the mapping. |
| To | Yes | Defines where the result should be inserted. |
| Precedence | Yes | Determines the order in which this mapping is applied relative to others. |
| Function type | Yes | Defines the function type. Needs to be "Message Structure functions". |
| Function | Yes | Defines the function. Needs to be "Convert an object node to an array". |