public class LowercaseEnumTypeAdapterFactory extends Object implements TypeAdapterFactory
Constructor and Description |
---|
LowercaseEnumTypeAdapterFactory() |
Modifier and Type | Method and Description |
---|---|
<T> TypeAdapter<T> |
create(Gson gson,
TypeToken<T> typeToken) |
private String |
getKey(Object o) |
@Nullable public <T> TypeAdapter<T> create(Gson gson, TypeToken<T> typeToken)
create
in interface TypeAdapterFactory