Loading ...
Sorry, an error occurred while loading the content.

org.json

Expand Messages
  • Douglas Crockford
    The Java reference implementation was extended by Biju Balakrishnan, giving better Bean support. For Inner Objects like List, Array, user defined classes, Map
    Message 1 of 3 , Jun 25, 2008
    • 0 Attachment
      The Java reference implementation was extended by Biju Balakrishnan,
      giving better Bean support.

      For Inner Objects like List, Array, user defined classes, Map
      --> Added a new constructor -
      JSONObject(Object bean, boolean includeSuperClass)
      --> Added a new constructor -
      JSONObject(Map map, boolean includeSuperClass)

      For Inner Objects like List, Array, user defined classes
      --> Added a new constructor -
      JSONArray(Collection collection, boolean includeSuperClass)
      --> Added a new constructor -
      JSONArray(Object array, boolean includeSuperClass)

      http://www.JSON.org/java/
    • Douglas Crockford
      new JSONObject(...) will throw if it is given a text with duplicate keys. JSONWriter.key(...) will throw if it is given a duplicate key.
      Message 2 of 3 , Sep 18, 2008
      • 0 Attachment
        new JSONObject(...) will throw if it is given a text with duplicate keys.

        JSONWriter.key(...) will throw if it is given a duplicate key.
      Your message has been successfully submitted and would be delivered to recipients shortly.