com.liferay.portal.kernel.json
Interface JSONArray
- All Known Implementing Classes:
- JSONArrayImpl
public interface JSONArray
getBoolean
boolean getBoolean(int index)
getDouble
double getDouble(int index)
getInt
int getInt(int index)
getJSONArray
JSONArray getJSONArray(int index)
getJSONObject
JSONObject getJSONObject(int index)
getLong
long getLong(int index)
getString
String getString(int index)
isNull
boolean isNull(int index)
join
String join(String separator)
throws JSONException
- Throws:
JSONException
length
int length()
put
JSONArray put(boolean value)
put
JSONArray put(double value)
put
JSONArray put(int value)
put
JSONArray put(JSONArray value)
put
JSONArray put(JSONObject value)
put
JSONArray put(long value)
put
JSONArray put(String value)
toString
String toString()
- Overrides:
toString
in class Object
toString
String toString(int indentFactor)
throws JSONException
- Throws:
JSONException
write
Writer write(Writer writer)
throws JSONException
- Throws:
JSONException