Hi All,
We are working on Integration where we are getting JSON file as input in ION and need to pass it to LN as custom BOD. Can ION Read JSON file and convert it into XML format?
Regards,
Vikram Patil
ION File connector is not picky about what it reads, if it matches the mask and in in the read location, ION File connector will bring it in.
It would need to stay under 5MB per ION rules. You would define the file connection document as either ANY document type, or you could created a specific document Name as ANY type, or even JSON. You could create the JSON schema from a sample file. However the schema won't really matter.
ION will read the file in and route it to the next step in the document flow. That likely is a script to convert the JSON to XML, inputting your selected document name and outputting a new document name with a XML Schema.
Thank you Kevin. I got JSON file in ION and now working on convert the same to XML using script. Does anyone has sample code to start with.
I downloaded xmltodict library and linked to script to convert JSON into XML.