@Deprecated
public class DistanceGeometryDeserializer
extends java.lang.Object
implements com.google.gson.JsonDeserializer<com.mapbox.services.commons.geojson.Geometry>
MultiPoint string.| Constructor and Description |
|---|
DistanceGeometryDeserializer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
com.mapbox.services.commons.geojson.Geometry |
deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context)
Deprecated.
replace by the Directions Matrix API.
|
@Deprecated
public com.mapbox.services.commons.geojson.Geometry deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context)
throws com.google.gson.JsonParseException
MultiPoint string.deserialize in interface com.google.gson.JsonDeserializer<com.mapbox.services.commons.geojson.Geometry>json - The Json data being deserialized.typeOfT - The type of the Object to deserialize to.context - Context for deserialization.com.google.gson.JsonParseException - This exception is raised if there is a serious issue that occurs
during parsing of a Json string.