Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.json
Interface JSONArray

All Known Implementing Classes:
JSONArrayImpl

public interface JSONArray


Method Summary
 boolean getBoolean(int index)
           
 double getDouble(int index)
           
 int getInt(int index)
           
 JSONArray getJSONArray(int index)
           
 JSONObject getJSONObject(int index)
           
 long getLong(int index)
           
 String getString(int index)
           
 boolean isNull(int index)
           
 String join(String separator)
           
 int length()
           
 JSONArray put(boolean value)
           
 JSONArray put(double value)
           
 JSONArray put(int value)
           
 JSONArray put(JSONArray value)
           
 JSONArray put(JSONObject value)
           
 JSONArray put(long value)
           
 JSONArray put(String value)
           
 String toString()
           
 String toString(int indentFactor)
           
 Writer write(Writer writer)
           
 

Method Detail

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

Liferay 6.1.2-ce-ga3