public class NullNumberSerialize<T extends Number>
extends com.google.gson.TypeAdapter<T>
public void write(com.google.gson.stream.JsonWriter out,
T number)
throws IOException
write 在类中 com.google.gson.TypeAdapter<T extends Number>IOExceptionpublic T read(com.google.gson.stream.JsonReader jsonReader) throws IOException
read 在类中 com.google.gson.TypeAdapter<T extends Number>IOExceptionCopyright © 2023. All rights reserved.