Convert JSON to XML and vice versa
Team,
We have a requirement to convert a JSON to XML programmatically. Can we achieve this through a JS workflow activity with/without any libraries ? Please let me know.
TIA!
Team,
We have a requirement to convert a JSON to XML programmatically. Can we achieve this through a JS workflow activity with/without any libraries ? Please let me know.
TIA!
Yes, it is possible in JS. You may use this solution: https://stackoverflow.com/questions/48788722/json-to-xml-using-javascript
In Campaign, you can create a JS file having required function and use that in the workflow JS activity via loadLibrary(). Hope this helps!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.