Skip to main content
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

redgeographics
Celebrity
Forum|alt.badge.img+49

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.


  • Author
  • March 4, 2021
redgeographics wrote:

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings