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