Class 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 Detail

      • UnknownPropertyDetectionAdapterFactory

        public UnknownPropertyDetectionAdapterFactory()
    • Method Detail

      • 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 interface com.google.gson.TypeAdapterFactory