A developer needs to transform contact data into a JSON array.
Given the input JSON shown above, what are two ways a developer could configure aDATA Raptortransform to achievethe expectedOutput JSON? Choose 2 answers
A. Use a formula LIST(Contact), and add the output of the formula as the input in the Transform tab.
B. Set the Input JSON path as List(Contact) and theOutput JSONPath as Contact.
C. Set the Input JSON Path as Contact the out JSON Path asContactandtheoutput Data type as List.
D. Set the input JSON Path as Contact and the OutPut JSON Path as List (Contact)
A. Use a formula LIST(Contact), and add the output of the formula as the input in the Transform tab. C. Set the Input JSON Path as Contact the out JSON Path asContactandtheoutput Data type as List.
Explanation:
DataRaptor Transform can emit arrays either by wrapping existing nodes in a List data type or by using the LIST() formula function. In option A, you create a formula field with LIST(Contact), which builds a one-element array, then map that formula result in your Transform inputs. In option C, you map the Contact node directly and set its output type to List, instructing DataRaptor to always render it as an array, even if only one element exists. Both methods produce the expected JSON array structure without resorting to invalid path syntax or unsupported functions in the mapping itself.