Two PHP functions that allow you to convert from JSON to XML and back
MIT License
Two PHP functions that allow you to convert from JSON to XML and back (not the other way around).
This implementation is using the Microsoft JSON-XML mapping as described here:
https://msdn.microsoft.com/en-us/library/bb924435(v=vs.110).aspx
See also: https://github.com/mevdschee/json2xml.js