Skip to main content

how to convert following details using DWL 2.0 

input 

"{ name= John, age= 30, city= New York, image= { 

    url= test, 

    width= 200, 

    height= 200 

  } }" 

 

expected output 

{ "name": "John", "age": 30, "city": "New York","image": { 

    "url": "test", 

    "width": 200, 

    "height": 200 

  } } 

 

#MuleSoft DataWeave  #DataWeave 2

0/9000