CSV to JSON Transform - By Rahul Kumar
CSV to JSON Transform Mule supports CSV format through the Dataweave component. Set the output to application/json and make payload the output:
[[db_test].converter_testFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: [ { "Billing Street": "111 Boulevard Hausmann", "Billing City": "Paris", "Billing Country": "France", "Billing State": "", "Name": "Dog Park Industries", "BillingPostalCode": "75008" }, { "Billing Street": "400 South St", "Billing City": "San Francisco", "Billing Country": "USA", "Billing State": "CA", "Name": "Iguana Park Industries", "BillingPostalCode": "91156" }, { "Billing Street": "777 North St", "Billing City": "San Francisco", "Billing Country": "USA", "Billing State": "CA", "Name": "Cat Park Industries", "BillingPostalCode": "91156" } ]
Thank You !

Csv to json transform in simple steps

  • 1.
    CSV to JSONTransform - By Rahul Kumar
  • 2.
    CSV to JSONTransform Mule supports CSV format through the Dataweave component. Set the output to application/json and make payload the output:
  • 3.
    [[db_test].converter_testFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: [ { "BillingStreet": "111 Boulevard Hausmann", "Billing City": "Paris", "Billing Country": "France", "Billing State": "", "Name": "Dog Park Industries", "BillingPostalCode": "75008" }, { "Billing Street": "400 South St", "Billing City": "San Francisco", "Billing Country": "USA", "Billing State": "CA", "Name": "Iguana Park Industries", "BillingPostalCode": "91156" }, { "Billing Street": "777 North St", "Billing City": "San Francisco", "Billing Country": "USA", "Billing State": "CA", "Name": "Cat Park Industries", "BillingPostalCode": "91156" } ]
  • 4.