Class GeoJsonAdapterFactory

java.lang.Object
com.mapbox.geojson.gson.GeoJsonAdapterFactory
All Implemented Interfaces:
com.google.gson.TypeAdapterFactory
Direct Known Subclasses:
GeoJsonAdapterFactory.GeoJsonAdapterFactoryIml

public abstract class GeoJsonAdapterFactory extends Object implements com.google.gson.TypeAdapterFactory
A GeoJson type adapter factory for convenience for serialization/deserialization.
Since:
3.0.0
  • Constructor Details

    • GeoJsonAdapterFactory

      public GeoJsonAdapterFactory()
  • Method Details

    • create

      public static com.google.gson.TypeAdapterFactory create()
      Create a new instance of this GeoJson type adapter factory, this is passed into the Gson Builder.
      Returns:
      a new GSON TypeAdapterFactory
      Since:
      3.0.0