public class JSONObject extends Object
Constructor and Description |
---|
JSONObject() |
JSONObject(org.apache.wink.json4j.JSONObject toWrap) |
JSONObject(String str) |
Modifier and Type | Method and Description |
---|---|
int |
getInt(String key) |
JSONArray |
getJSONArray(String key) |
JSONObject |
getJSONObject(String key) |
String |
getString(String key) |
org.apache.wink.json4j.JSONObject |
getWrappedObject() |
boolean |
has(String key) |
public JSONObject()
public JSONObject(String str) throws JSONException
JSONException
public JSONObject(org.apache.wink.json4j.JSONObject toWrap)
public int getInt(String key) throws JSONException
JSONException
public boolean has(String key)
public JSONObject getJSONObject(String key) throws JSONException
JSONException
public JSONArray getJSONArray(String key) throws JSONException
JSONException
public String getString(String key) throws JSONException
JSONException
public org.apache.wink.json4j.JSONObject getWrappedObject()
Copyright © 2011-2015 IBM. All Rights Reserved.