Class BackgroundFillAdapter
java.lang.Object
com.pengrad.telegrambot.utility.gson.BackgroundFillAdapter
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<BackgroundFill>
public class BackgroundFillAdapter extends java.lang.Object implements com.google.gson.JsonDeserializer<BackgroundFill>
-
Constructor Summary
Constructors Constructor Description BackgroundFillAdapter() -
Method Summary
Modifier and Type Method Description BackgroundFilldeserialize(com.google.gson.JsonElement element, java.lang.reflect.Type type, com.google.gson.JsonDeserializationContext context)
-
Constructor Details
-
BackgroundFillAdapter
public BackgroundFillAdapter()
-
-
Method Details
-
deserialize
public BackgroundFill 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<BackgroundFill>- Throws:
com.google.gson.JsonParseException
-