Question

Convert Json to xml


Hello

 

I have a metadata json file that I would like to transform to xml.

Is there a particular route using transformers to do this?

I have tried importing the json with a reader the using a xml templater and then writing as an xml but the result is no then viewable in the FME data inspector.

Any suggestions?

 

Thank you


2 replies

Userlevel 5
Badge +25

You could simply start by setting up a basic JSON-to-XML translation, no need to use any transformers unless your XML needs to follow certain specific standards.

In that case I personally find it easiest to use the XMLTemplater and work with some sample XML.

You could simply start by setting up a basic JSON-to-XML translation, no need to use any transformers unless your XML needs to follow certain specific standards.

In that case I personally find it easiest to use the XMLTemplater and work with some sample XML.

Thank you. I was a bit confused with the other post here that certain transformers are needed.

Will try you suggestion.

Reply