Class JsonTypeAdapterTemplate<T>

    • Constructor Detail

      • JsonTypeAdapterTemplate

        public JsonTypeAdapterTemplate()
    • Method Detail

      • getValueType

        public abstract java.lang.Class getValueType()
      • getValueTypes

        public java.util.List<java.lang.Class> getValueTypes()
        Description copied from interface: JsonTypeAdapter
        Target class (or classes), typically ValueType or CustomType.
        Each target class should have a no-argument constructor (public or private).

        If adapter is designed to handle single class, should return a List with one element — a supported class.

        Specified by:
        getValueTypes in interface JsonTypeAdapter<T>