[json-lib-user] Order of child elements is switched when converting from json to xml
Brought to you by:
aalmiray
From: Olivier C. <oli...@gm...> - 2011-11-21 16:45:30
|
Hi there, I am playing with JSON lib conversion from JSON to XML and the opposite. I am now facing a strange issue: converting from json string to XML seems to loose the order of elements in the process. However in debug I can make sure the "insertOrder" property of my JSONObject is right! But xmlSerializer.write(myJSONObject) returns an XML string where child elements have been mixed up (seems to be exactly the opposite order!!...) What should I do? Thanks |