Latest news on Json-lib and xml
Following the recent updates on XML processing in Json-lib, now its possible to work with namespace prefixes and uris. If you feed an XML to the XMLSerializer and that XML has namespace declarations, each declaration will be added with a "@xmlns" prefix to the resulting JSONObject. The namespace handling has one side effect, previously you could read an array definition and the resulting object would be a JSONArray, because arrays do not have properties and the xmlns is a property, the resulting object would be a JSONObject.
Read comments or post a reply to : Latest news on Json-lib and xml