Package io.voucherify.client.model
Class Category.ObjectEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<Category.ObjectEnum>
io.voucherify.client.model.Category.ObjectEnum.Adapter
- Enclosing class:
- Category.ObjectEnum
public static class Category.ObjectEnum.Adapter
extends com.google.gson.TypeAdapter<Category.ObjectEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, Category.ObjectEnum 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, Category.ObjectEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<Category.ObjectEnum>- Throws:
IOException
-
read
- Specified by:
readin classcom.google.gson.TypeAdapter<Category.ObjectEnum>- Throws:
IOException
-