Hi!
I am running some API flows that receives a JSON payload.
After that, I call the IONSERVICES /v2/message to get my message into the correct Application in order for me to use a Data Flow. (Why can't I send a message directly from an API Flow into a Data Flow....?)
However, I need the payload in an XML format.
This should be fully possible by parsing the JSON Schema, and tell it to use the configured schema and output an XML instead. But unfortunately this cannot be done.
Instead I have to insert my JSON to a Python script and use dicttoxml which is an awful library, this results in me getting extra appended <item> tags due to bad converting.
Does anyone have a better alternative for converting the JSON to XML somewhere in ION?