Uses of Class
org.json.JSONObject

Uses of JSONObject in org.json
 

Methods in org.json that return JSONObject
 JSONObject JSONObject.accumulate(java.lang.String name, java.lang.Object value)
          Appends value to the array already mapped to name.
 JSONObject JSONArray.getJSONObject(int index)
          Returns the value at index if it exists and is a JSONObject.
 JSONObject JSONObject.getJSONObject(java.lang.String name)
          Returns the value mapped by name if it exists and is a JSONObject.
 JSONObject JSONArray.optJSONObject(int index)
          Returns the value at index if it exists and is a JSONObject.
 JSONObject JSONObject.optJSONObject(java.lang.String name)
          Returns the value mapped by name if it exists and is a JSONObject.
 JSONObject JSONObject.put(java.lang.String name, boolean value)
          Maps name to value, clobbering any existing name/value mapping with the same name.
 JSONObject JSONObject.put(java.lang.String name, double value)
          Maps name to value, clobbering any existing name/value mapping with the same name.
 JSONObject JSONObject.put(java.lang.String name, int value)
          Maps name to value, clobbering any existing name/value mapping with the same name.
 JSONObject JSONObject.put(java.lang.String name, long value)
          Maps name to value, clobbering any existing name/value mapping with the same name.
 JSONObject JSONObject.put(java.lang.String name, java.lang.Object value)
          Maps name to value, clobbering any existing name/value mapping with the same name.
 JSONObject JSONObject.putOpt(java.lang.String name, java.lang.Object value)
          Equivalent to put(name, value) when both parameters are non-null; does nothing otherwise.
 JSONObject JSONArray.toJSONObject(JSONArray names)
          Returns a new object whose values are the values in this array, and whose names are the values in names.
 

Constructors in org.json with parameters of type JSONObject
JSONObject(JSONObject copyFrom, java.lang.String[] names)
          Creates a new JSONObject by copying mappings for the listed names from the given object.
 



Copyright © 2013 The Android Open Source Project. All Rights Reserved.