Example usage for Java twitter4j JSONArray fields, constructors, methods, implement or subclass
The text is from its open source code.
JSONArray(Collection copyFrom) Creates a new JSONArray by copying all values from the given collection. | |
JSONArray(JSONTokener readFrom) Creates a new JSONArray with values from the next array in the tokener. | |
JSONArray(String json) Creates a new JSONArray with values from the JSON string. | |
JSONArray(Object array) Creates a new JSONArray with values from the given primitive array. | |
JSONArray() Creates a JSONArray with no values. |
Object | get(int index) Returns the value at index . |
JSONArray | getJSONArray(int index) Returns the value at index if it exists and is a JSONArray . |
JSONObject | getJSONObject(int index) Returns the value at index if it exists and is a JSONObject . |
int | length() |
JSONArray | put(boolean value) Appends value to the end of this array. |
JSONArray | put(double value) Appends value to the end of this array. |
JSONArray | put(int value) Appends value to the end of this array. |
JSONArray | put(long value) Appends value to the end of this array. |
JSONArray | put(Object value) Appends value to the end of this array. |
String | toString() Encodes this array as a compact JSON string, such as: [94043,90210] |