public class NullStringSerialize
extends com.google.gson.TypeAdapter<java.lang.String>
| 构造器和说明 |
|---|
NullStringSerialize() |
public void write(com.google.gson.stream.JsonWriter out,
java.lang.String s)
throws java.io.IOException
write 在类中 com.google.gson.TypeAdapter<java.lang.String>java.io.IOExceptionpublic java.lang.String read(com.google.gson.stream.JsonReader jsonReader)
throws java.io.IOException
read 在类中 com.google.gson.TypeAdapter<java.lang.String>java.io.IOException