public class JSONObjectAdapter extends com.google.gson.TypeAdapter<JSONObject>
| Constructor and Description |
|---|
JSONObjectAdapter() |
| Modifier and Type | Method and Description |
|---|---|
JSONObject |
read(com.google.gson.stream.JsonReader reader) |
void |
write(com.google.gson.stream.JsonWriter writer,
JSONObject object) |
public void write(com.google.gson.stream.JsonWriter writer,
JSONObject object)
throws IOException
write in class com.google.gson.TypeAdapter<JSONObject>IOExceptionpublic JSONObject read(com.google.gson.stream.JsonReader reader) throws IOException
read in class com.google.gson.TypeAdapter<JSONObject>IOExceptionCopyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.