Flow_037s7n3
S('{"firstName":"Tom","lastName":"Example","job":"Coding"}')
'{"firstName":"Tom","lastName":"Example","job":"Coding"}'
[
firstName:"Tom",
lastName:"Example",
job:"Coding"
]
Flow_037s7n3
Flow_05fuic6
Flow_0ga4qb8
Flow_1x5h5g4
Flow_0ga4qb8
Flow_00ydmrh
Flow_1x5h5g4
def result;
// Your code starts here
result = dpmJson()
result.one.two.three = "hello!"
// Your code ends here
println("------- TASK 3 -------")
println(result)
result
Flow_05fuic6
Flow_1rf5rnp
def result;
// Your code starts here
result = dpmJson()
def spinObj = dpmJson(mySpinObj)
def jsonString = dpmJson(myJsonString)
def map = dpmJson(myMap)
result.newFirstName = spinObj.firstName
result.newLastName = jsonString.lastName
result.newJob = map.job
// Your code ends here
println("------- TASK 1 -------")
println(result)
result
Flow_1rf5rnp
Flow_00ydmrh
def result;
// Your code starts here
result = dpmJson()
def spinObj = dpmJson(mySpinObj)
def jsonString = dpmJson(myJsonString)
def map = dpmJson(myMap)
result.newFirstName = spinObj.firstName.value()
result.newLastName = jsonString.lastName.value()
result.newJob = map.job.value()
// Your code ends here
println("------- TASK 2 -------")
println(result)
result
You're good to go!
Task 1
Task 3
Task 2