Package ai.shipeasy.admin.model
Class GateTemplate.CategoryEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<GateTemplate.CategoryEnum>
ai.shipeasy.admin.model.GateTemplate.CategoryEnum.Adapter
- Enclosing class:
- GateTemplate.CategoryEnum
public static class GateTemplate.CategoryEnum.Adapter
extends com.google.gson.TypeAdapter<GateTemplate.CategoryEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, GateTemplate.CategoryEnum enumeration) Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
Adapter
public Adapter()
-
-
Method Details
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, GateTemplate.CategoryEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<GateTemplate.CategoryEnum>- Throws:
IOException
-
read
public GateTemplate.CategoryEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException - Specified by:
readin classcom.google.gson.TypeAdapter<GateTemplate.CategoryEnum>- Throws:
IOException
-