Package com.jtelegram.api.message.entity
Class UnsupportedMessageEntity.Adapter
- java.lang.Object
-
- com.jtelegram.api.message.entity.UnsupportedMessageEntity.Adapter
-
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<UnsupportedMessageEntity>
,com.google.gson.JsonSerializer<UnsupportedMessageEntity>
- Enclosing class:
- UnsupportedMessageEntity
public static final class UnsupportedMessageEntity.Adapter extends java.lang.Object implements com.google.gson.JsonDeserializer<UnsupportedMessageEntity>, com.google.gson.JsonSerializer<UnsupportedMessageEntity>
-
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnsupportedMessageEntity
deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context)
com.google.gson.JsonElement
serialize(UnsupportedMessageEntity src, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
-
-
-
Method Detail
-
deserialize
public UnsupportedMessageEntity deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
- Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<UnsupportedMessageEntity>
- Throws:
com.google.gson.JsonParseException
-
serialize
public com.google.gson.JsonElement serialize(UnsupportedMessageEntity src, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
- Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<UnsupportedMessageEntity>
-
-