|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> java.util.AbstractList<E> java.util.AbstractSequentialList<E> java.util.LinkedList<java.lang.Object> org.zkoss.json.JSONArray
public class JSONArray
A JSON array. JSONObject supports java.util.List interface.
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
JSONArray()
|
Method Summary | |
---|---|
java.lang.String |
toJSONString()
Encodes this object to a JSON string. |
static java.lang.String |
toJSONString(boolean[] ary)
Convert a boolean array to JSON text. |
static java.lang.String |
toJSONString(byte[] ary)
Convert a byte array to JSON text. |
static java.lang.String |
toJSONString(char[] ary)
Convert a char array to JSON text. |
static java.lang.String |
toJSONString(java.util.Collection collection)
Convert a list to JSON text. |
static java.lang.String |
toJSONString(double[] ary)
Convert a double array to JSON text. |
static java.lang.String |
toJSONString(float[] ary)
Convert a float array to JSON text. |
static java.lang.String |
toJSONString(int[] ary)
Convert an integer array to JSON text. |
static java.lang.String |
toJSONString(long[] ary)
Convert a long array to JSON text. |
static java.lang.String |
toJSONString(java.lang.Object[] ary)
Convert an object array to JSON text. |
static java.lang.String |
toJSONString(short[] ary)
Convert a short array to JSON text. |
java.lang.String |
toString()
Encodes this object to a JSON string. |
Methods inherited from class java.util.LinkedList |
---|
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, toArray, toArray |
Methods inherited from class java.util.AbstractSequentialList |
---|
iterator |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, listIterator, removeRange, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, isEmpty, removeAll, retainAll |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Methods inherited from interface java.util.Deque |
---|
iterator |
Constructor Detail |
---|
public JSONArray()
Method Detail |
---|
public static java.lang.String toJSONString(java.util.Collection collection)
collection
-
JSONValue.toJSONString(Object)
public static java.lang.String toJSONString(java.lang.Object[] ary)
patched by tomyeh
public static java.lang.String toJSONString(int[] ary)
patched by tomyeh
public static java.lang.String toJSONString(long[] ary)
patched by tomyeh
public static java.lang.String toJSONString(short[] ary)
patched by tomyeh
public static java.lang.String toJSONString(float[] ary)
patched by tomyeh
public static java.lang.String toJSONString(double[] ary)
patched by tomyeh
public static java.lang.String toJSONString(byte[] ary)
patched by tomyeh
public static java.lang.String toJSONString(boolean[] ary)
patched by tomyeh
public static java.lang.String toJSONString(char[] ary)
patched by tomyeh
public java.lang.String toJSONString()
toString()
.
toJSONString
in interface JSONAware
public java.lang.String toString()
toJSONString()
.
toString
in class java.util.AbstractCollection<java.lang.Object>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |