public class WxBooleanTypeAdapter extends com.google.gson.TypeAdapter<Boolean>
Gson 布尔类型类型转换器 Created by Binary Wang on 2017-7-8.
| 构造器和说明 |
|---|
WxBooleanTypeAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
Boolean |
read(com.google.gson.stream.JsonReader in) |
void |
write(com.google.gson.stream.JsonWriter out,
Boolean value) |
public void write(com.google.gson.stream.JsonWriter out,
Boolean value)
throws IOException
write 在类中 com.google.gson.TypeAdapter<Boolean>IOExceptionpublic Boolean read(com.google.gson.stream.JsonReader in) throws IOException
read 在类中 com.google.gson.TypeAdapter<Boolean>IOExceptionCopyright © 2017. All rights reserved.