Whats the easiest way to take a JSON or Array object and convert it to XML. Maybe I am looking in all the wrong places but I am not finding a decent answer to get me on track with doing it. Is this something I would have to somehow build myself? Or is there something like json_encode/json_decode that will take an array or json object and ust pop it out as a xml object?
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
|
Check it here: How to convert array to SimpleXML and this documentation should help you too Regarding Json to Array, you can use json_decode to do the same! |
|||
|
I am not sure about the easiest way. Both are relatively simple enough as I see it. Here's a topic covering |
|||
|