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 a DataRaptor Transform to achieve the expected Output JSON? (Choose two.)
A.
Set the Input JSON Path as LIST(Contact) and the Output JSON Path as Contact.
B.
Set the Input JSON Path as Contact and the Output JSON Path as LIST(Contact).
C.
Use a formula LIST(Contact), and add the output of the formula as the input in the Transform tab.
D.
Set the Input JSON Path as Contact, the Output JSON Path as Contact, and Output Data Type as List.
The expected Output JSON represents an array with one element containing the contact data, so it should have a list or array structure. Based on this, the two ways a developer could configure a DataRaptor Transform to achieve the expected Output JSON are:
B. Set the Input JSON Path as Contact and the Output JSON Path as LIST(Contact).
This configuration will create an array or list structure in the output with one element, which contains the contact data.
D. Set the Input JSON Path as Contact, the Output JSON Path as Contact, and Output Data Type as List.
This configuration will create an array or list structure in the output with one element, which contains the contact data. By setting the Output Data Type as List, we explicitly tell DataRaptor to create a list/array structure.
Therefore, options B and D are the correct answers. Options A and C are not correct as they do not create the expected output structure.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
kwon25
3 months, 2 weeks agoJohnyWalker99
12 months agocarsar
1 year agoppremy
1 year, 6 months ago