Skip to main content

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

AttributeRequiredDescription
FromYesDefines the source field for the mapping.
ToYesDefines where the result should be inserted.
PrecedenceYesDetermines the order in which this mapping is applied relative to others.
Function typeYesDefines the function type. Needs to be "Message Structure functions".
FunctionYesDefines the function. Needs to be "Convert an object node to an array".