Created
June 29, 2020 18:55
-
-
Save alexandramartinez/232a52f1c59e0db2327ac9f9ffc3a89a 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