cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

XML to JSON conversion

bhavesh-patel
Deputy Chef III
Deputy Chef III

I am receiving API response in XML and want to convert into JSON. Can anybody guide me how can I achieve the same?

6 REPLIES 6

chall
Deputy Chef II
Deputy Chef II
Hi Bhavesh

Apply the formula .to_json against the payload. Check the syntax, but this will convert into JSON for you.

hardik_bamb
Deputy Chef I
Deputy Chef I

Hi Bhavesh,

Please refer below link

https://support.workato.com/en/support/discussions/topics/1000085036

Thanks

salman-khan
Deputy Chef I
Deputy Chef I

Hi Bhavesh

You can use to_json formula,
Please find the below recipe link this will give better understanding
https://app.workato.com/recipes/2765551?st=df8c85242b8428ee5b6f25736d6bb0132c6733e45151816de14b35d07...

Your recipe is very useful. Thanks for the help