Created
June 29, 2020 19:05
-
-
Save alexandramartinez/5c2558ed6955a1fe621e56c9a6676c60 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%dw 2.0 | |
output application/json | |
var newObject = { | |
fieldC: "Field C Value" | |
} | |
var newObject2 = { | |
fieldD: "Field D Value", | |
object2: { | |
fieldE: "Field E Value" | |
} | |
} | |
--- | |
{([ | |
payload, | |
newObject, | |
newObject2 | |
])} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment