Package com.mapbox.geojson.gson
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classGeoJsonAdapterFactory implementation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.gson.TypeAdapterFactorycreate()Create a new instance of this GeoJson type adapter factory, this is passed into the Gson Builder.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.gson.TypeAdapterFactory
create
-
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
-