cancel
Showing results for 
Search instead for 
Did you mean: 

JSON to XML conversion

Max
New Contributor II

Hello,

Im trying to convert a json payload into xml. Im using the xml generator and it gets me close. The content under data is still in json format. Can someone help with converting the content under data into xml as well? Attached is the current and expected output, as well as the json input and xml generator code.

Thanks

1 REPLY 1

Aleksandar_A
Contributor III

Hello @Max,

I've implemented two XML mapping methods in the attached pipeline: using a Mapper Snap with XML Formatter, and using an XML Generator Snap.

I would recommend the XML Formatter method for better handling of large inputs. Please review both to determine what best suits your needs.

Please let me know if this helps.

Regards,

Aleksandar.