public class JSONSupport extends Object implements JSONString
| 构造器和说明 |
|---|
JSONSupport() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
parse(String jsonString)
JSON String转Bean
|
JSONObject |
toJSON() |
String |
toJSONString()
The
toJSONString method allows a class to produce its own JSON
serialization. |
String |
toPrettyString()
美化的JSON(使用回车缩进显示JSON),用于打印输出debug
|
String |
toString() |
public void parse(String jsonString)
jsonString - JSON Stringpublic JSONObject toJSON()
public String toJSONString()
JSONStringtoJSONString method allows a class to produce its own JSON
serialization.toJSONString 在接口中 JSONStringpublic String toPrettyString()
Copyright © 2016. All rights reserved.