Class GsonVdmAdapterFactory

java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.adapter.GsonVdmAdapterFactory
All Implemented Interfaces:
com.google.gson.TypeAdapterFactory

public class GsonVdmAdapterFactory extends Object implements com.google.gson.TypeAdapterFactory
General purpose VDM adapter factory.
  • Constructor Details

    • GsonVdmAdapterFactory

      public GsonVdmAdapterFactory()
  • Method Details

    • create

      @Nullable public <T> com.google.gson.TypeAdapter<T> create(@Nonnull com.google.gson.Gson gson, @Nonnull com.google.gson.reflect.TypeToken<T> type)
      Specified by:
      create in interface com.google.gson.TypeAdapterFactory