PropertyTypeAdapterFactory

public class PropertyTypeAdapterFactory implements TypeAdapterFactory(source)

Gson TypeAdapterFactory for creating type adapters for Properties so that their stored value is not wrapped into an additional dictionary during serialization.

See also

GsonBuilder

Constructors

Link copied to clipboard

Types

Link copied to clipboard
public class PropertyTypeAdapter<T> extends TypeAdapter<T>

Functions

Link copied to clipboard
public TypeAdapter<T> create<T>(Gson gson, TypeToken<T> type)