| 接口 | 说明 |
|---|---|
| JSON |
JSON接口
|
| JSONString |
The
JSONString interface allows a toJSONString()
method so that a class can change the behavior of
JSONObject.toString(), JSONArray.toString(),
and JSONWriter.value(Object). |
| 类 | 说明 |
|---|---|
| JSONArray |
JSON数组
|
| JSONGetter<K> |
用于JSON的Getter类,提供各种类型的Getter方法
|
| JSONNull |
JSONObject.NULL is equivalent to the value that JavaScript calls null,
whilst Java's null is equivalent to the value that JavaScript calls undefined. |
| JSONObject |
JSON对象
例: myString = new JSONObject().put("JSON", "Hello, World! |
| JSONSupport |
JSON支持
继承此类实现实体类与JSON的相互转换 |
| JSONTokener |
JSON解析器,用于将JSON字符串解析为JSONObject或者JSONArray
|
| JSONUtil |
JSON工具类
|
| XML |
提供静态方法在XML和JSONObject之间转换
|
| XMLTokener |
XML分析器,继承自JSONTokener,提供XML的语法分析
|
| 异常错误 | 说明 |
|---|---|
| JSONException |
The JSONException is thrown by the JSON.org classes when things are amiss.
|
Copyright © 2017. All rights reserved.