|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 JSONObject 的软件包 | |
|---|---|
| org.test4j.json | |
| org.test4j.json.decoder | |
| org.test4j.json.decoder.base | |
| org.test4j.json.decoder.spec | |
| org.test4j.json.helper | |
| org.test4j.json 中 JSONObject 的使用 |
|---|
| 参数类型为 JSONObject 的 org.test4j.json 中的方法 | ||
|---|---|---|
static
|
JSON.toObject(JSONObject json,
Map<String,Object> references)
将json字符串反序列为对象 |
|
static
|
JSON.toObject(JSONObject json,
Type type,
Map<String,Object> references)
|
|
| org.test4j.json.decoder 中 JSONObject 的使用 |
|---|
| 参数类型为 JSONObject 的 org.test4j.json.decoder 中的方法 | ||
|---|---|---|
|
IDecoder.decode(JSONObject from,
Type toType,
Map<String,Object> references)
将json串反序列为对象 |
|
|
CollectionDecoder.decode(JSONObject json,
Type toType,
Map<String,Object> references)
|
|
|
ArrayDecoder.decode(JSONObject json,
Type toType,
Map<String,Object> references)
|
|
| org.test4j.json.decoder.base 中 JSONObject 的使用 |
|---|
| 参数类型为 JSONObject 的 org.test4j.json.decoder.base 中的方法 | ||
|---|---|---|
|
SpecTypeDecoder.decode(JSONObject json,
Type toType,
Map<String,Object> references)
|
|
|
MapPoJoBaseDecoder.decode(JSONObject json,
Type toType,
Map<String,Object> references)
|
|
|
FixedTypeDecoder.decode(JSONObject json,
Type type,
Map<String,Object> references)
|
|
| org.test4j.json.decoder.spec 中 JSONObject 的使用 |
|---|
| 参数类型为 JSONObject 的 org.test4j.json.decoder.spec 中的方法 | ||
|---|---|---|
|
SpecDecoder.decode(JSONObject json,
Type toType,
Map<String,Object> references)
|
|
| org.test4j.json.helper 中 JSONObject 的使用 |
|---|
| 实现 JSONObject 的 org.test4j.json.helper 中的类 | |
|---|---|
class |
JSONArray
|
class |
JSONMap
|
class |
JSONSingle
单值对象 |
| 返回 JSONObject 的 org.test4j.json.helper 中的方法 | |
|---|---|
JSONObject |
JSONMap.get(Object key)
|
JSONObject |
JSONMap.getValueFromJSONProp()
返回json字符串中value:xxx中xxx表示JSON对象 |
JSONObject |
JSONMap.putJSON(Object key,
Object value)
same as put(key,value) |
JSONObject |
JSONScanner.scan()
|
static JSONObject |
JSONScanner.scnJSON(String json)
|
| 类型变量类型为 JSONObject 的 org.test4j.json.helper 中的构造方法参数 | |
|---|---|
JSONArray(List<JSONObject> list)
|
|
JSONMap(Map<JSONObject,JSONObject> map)
|
|
JSONMap(Map<JSONObject,JSONObject> map)
|
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||