Class PointAsCoordinatesTypeAdapter

java.lang.Object
com.google.gson.TypeAdapter<T>
com.mapbox.geojson.PointAsCoordinatesTypeAdapter

public class PointAsCoordinatesTypeAdapter extends com.google.gson.TypeAdapter<T>
TypeAdapter to serialize Point as coordinates, i.e array of doubles and to deserialize into Point out of array of doubles.
Since:
4.6.0
  • Constructor Details

    • PointAsCoordinatesTypeAdapter

      public PointAsCoordinatesTypeAdapter()
  • Method Details