Skip to main content

Convert Object Node to Array

The Convert Object Node to Array mapping (key2array) 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
fromYDefines the source field for the mapping.
toYDefines where the result should be inserted.
FunctionYShould be set to "Convert an object node to an array".
CategoryYMust be "Message structure"