@Deprecated public class DistanceGeometryDeserializer extends 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,
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, 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.© 2015–2016 Mapbox. All rights reserved.