Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript AJAX Basics (retiring) Programming AJAX Parsing JSON Data

xml to json

I have a xml file, the files are all in xml. Is there a way i can get them in JSON format? It is helpful because i am trying to access a remote server xml and ajax doesn't allow cross domain.

2 Answers

There are many online tools that will help u in the conversion of file types such as XML to JSON. Some of the best tools are http://www.utilities-online.info/xmltojson/#.ViWRmX6rTIU and http://codebeautify.org/xmltojson (i recommend using this tool) If i managed to help, please mark my answer as the best