|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JSONObject
Method Summary | |
---|---|
boolean |
getBoolean(String key)
|
double |
getDouble(String key)
|
int |
getInt(String key)
|
JSONArray |
getJSONArray(String key)
|
JSONObject |
getJSONObject(String key)
|
long |
getLong(String key)
|
String |
getString(String key)
|
boolean |
has(String key)
|
boolean |
isNull(String key)
|
Iterator<String> |
keys()
|
int |
length()
|
JSONArray |
names()
|
JSONObject |
put(String key,
boolean value)
|
JSONObject |
put(String key,
Date value)
|
JSONObject |
put(String key,
double value)
|
JSONObject |
put(String key,
int value)
|
JSONObject |
put(String key,
JSONArray value)
|
JSONObject |
put(String key,
JSONObject value)
|
JSONObject |
put(String key,
long value)
|
JSONObject |
put(String key,
String value)
|
Object |
remove(String key)
|
String |
toString()
|
String |
toString(int indentFactor)
|
Writer |
write(Writer writer)
|
Method Detail |
---|
boolean getBoolean(String key)
double getDouble(String key)
int getInt(String key)
JSONArray getJSONArray(String key)
JSONObject getJSONObject(String key)
long getLong(String key)
String getString(String key)
boolean has(String key)
boolean isNull(String key)
Iterator<String> keys()
int length()
JSONArray names()
JSONObject put(String key, boolean value)
JSONObject put(String key, double value)
JSONObject put(String key, int value)
JSONObject put(String key, long value)
JSONObject put(String key, Date value)
JSONObject put(String key, JSONArray value)
JSONObject put(String key, JSONObject value)
JSONObject put(String key, String value)
Object remove(String key)
String toString()
toString
in class Object
String toString(int indentFactor) throws JSONException
JSONException
Writer write(Writer writer) throws JSONException
JSONException
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |