Class ReactionTypeAdapter
java.lang.Object
com.pengrad.telegrambot.utility.gson.ReactionTypeAdapter
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<ReactionType>
public class ReactionTypeAdapter extends java.lang.Object implements com.google.gson.JsonDeserializer<ReactionType>
-
Constructor Summary
Constructors Constructor Description ReactionTypeAdapter() -
Method Summary
Modifier and Type Method Description ReactionTypedeserialize(com.google.gson.JsonElement element, java.lang.reflect.Type type, com.google.gson.JsonDeserializationContext context)
-
Constructor Details
-
ReactionTypeAdapter
public ReactionTypeAdapter()
-
-
Method Details
-
deserialize
public ReactionType deserialize(com.google.gson.JsonElement element, java.lang.reflect.Type type, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException- Specified by:
deserializein interfacecom.google.gson.JsonDeserializer<ReactionType>- Throws:
com.google.gson.JsonParseException
-