stefanhoth/JSON-java — pull request #1 by samarjit (2012-12-08 07:55:55+00:00)
Title: XML with attributes can be reproduced as it was originally

XML with attributes can be serialized and de-serialized as original xml which was terribly missing in the original implementation. As a sideeffect the following changes happened. JSONObject implements Map and JSONArray implements List. Internal JSONObject map used LinkedHashMap for order which is desirable in many cases like returning sorted array from server to html.