Class CoordinatesDeserializer
java.lang.Object
api.longpoll.bots.adapters.deserializers.CoordinatesDeserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<Geo.Coordinates>
public class CoordinatesDeserializer
extends Object
implements com.google.gson.JsonDeserializer<Geo.Coordinates>
Deserializes
Geo.Coordinates
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext context)
-
Constructor Details
-
CoordinatesDeserializer
public CoordinatesDeserializer()
-
-
Method Details
-
deserialize
public Geo.Coordinates deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException - Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<Geo.Coordinates>
- Throws:
com.google.gson.JsonParseException
-