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

org.json.JSONObject.java

Expand Messages
  • Douglas Crockford
    New constructors for JSONObject: JSONObject(Object bean) Make a new JSONObject from the getter methods of a bean. JSONObject(Object object, String names[])
    Message 1 of 1 , Aug 27 6:27 PM
    • 0 Attachment
      New constructors for JSONObject:

      JSONObject(Object bean)

      Make a new JSONObject from the getter methods of a bean.

      JSONObject(Object object, String names[])

      Make a new JSONObject using an array of keys to extract
      values from an Object.

      New constructor for JSONArray:

      JSONArray(Object array)

      Make a new JSONArray from a Java array.

      The toJSONString methods will attempt to produce JSON text for values
      of type array, Collection, Map.

      http://www.json.org/java/index.html
    Your message has been successfully submitted and would be delivered to recipients shortly.