Apr 28, 2015
XML to JSON
A quickie - Sometimes we want to convert from XML to JSON. Either we have some XML from a other source (InfoPath, RSS/Atom Feed, etc) and we want to make a JSON service from it.
Barista makes it easy, just get any xml doc and run it through xml2Json:
Which gets you:
Thus you can access it’s properties:
Result:
and just pull in the SharePoint bundle to load the actual files.
json2Xml is also exposed.