|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
org.json.simple.JSONArray
public class JSONArray
A JSON array. JSONObject supports java.util.List interface.
| 字段摘要 |
|---|
| 从类 java.util.AbstractList 继承的字段 |
|---|
modCount |
| 构造方法摘要 | |
|---|---|
JSONArray()
|
|
| 方法摘要 | |
|---|---|
java.lang.String |
toJSONString()
|
static java.lang.String |
toJSONString(java.util.List list)
Convert a list to JSON text. |
java.lang.String |
toString()
|
static void |
writeJSONString(java.util.List list,
java.io.Writer out)
Encode a list into JSON text and write it to out. |
void |
writeJSONString(java.io.Writer out)
write JSON string to out. |
| 从类 java.util.ArrayList 继承的方法 |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| 从类 java.util.AbstractList 继承的方法 |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| 从类 java.util.AbstractCollection 继承的方法 |
|---|
containsAll, removeAll, retainAll |
| 从类 java.lang.Object 继承的方法 |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| 从接口 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 |
| 构造方法详细信息 |
|---|
public JSONArray()
| 方法详细信息 |
|---|
public static void writeJSONString(java.util.List list,
java.io.Writer out)
throws java.io.IOException
list - out -
java.io.IOExceptionJSONValue.writeJSONString(Object, Writer)
public void writeJSONString(java.io.Writer out)
throws java.io.IOException
JSONStreamAware 复制的描述
JSONStreamAware 中的 writeJSONStringjava.io.IOExceptionpublic static java.lang.String toJSONString(java.util.List list)
list -
JSONValue.toJSONString(Object)public java.lang.String toJSONString()
JSONAware 中的 toJSONStringpublic java.lang.String toString()
java.util.AbstractCollection 中的 toString
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||