sdk-common / com.tomtom.online.sdk.common.gson / GsonFactory

GsonFactory

open class GsonFactory

Factory implementation for Gson.

Constructors

<init>

GsonFactory()

Factory implementation for Gson.

Functions

createGsonSupportGeoJsonObjects

open fun createGsonSupportGeoJsonObjects(): Gson

Gson object which support GeoJSON objects serialization (e.g. Feature, FeatureCollection, Point).

createGsonSupportInheritingClasses

open fun createGsonSupportInheritingClasses(parent: Class<Any!>!, inheriting: Array<Class<Any!>!>!): Gson

createGsonSupportOptional

open fun createGsonSupportOptional(): Gson

Gson object which support guava optional serialization.