Package com.slack.api.util.json
Class UnknownPropertyDetectionAdapterFactory
java.lang.Object
com.slack.api.util.json.UnknownPropertyDetectionAdapterFactory
- All Implemented Interfaces:
com.google.gson.TypeAdapterFactory
public class UnknownPropertyDetectionAdapterFactory extends Object implements com.google.gson.TypeAdapterFactory
https://github.com/google/gson/issues/188#issuecomment-282746095
-
Constructor Summary
Constructors Constructor Description UnknownPropertyDetectionAdapterFactory()
-
Method Summary
Modifier and Type Method Description <T> com.google.gson.TypeAdapter<T>
create(com.google.gson.Gson gson, com.google.gson.reflect.TypeToken<T> type)
-
Constructor Details
-
UnknownPropertyDetectionAdapterFactory
public UnknownPropertyDetectionAdapterFactory()
-
-
Method Details
-
create
public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson, com.google.gson.reflect.TypeToken<T> type)- Specified by:
create
in interfacecom.google.gson.TypeAdapterFactory
-