Class TypeDeserializerBase

    • Method Detail

      • forProperty

        public abstract TypeDeserializer forProperty​(BeanProperty prop)
        Description copied from class: TypeDeserializer
        Method called to create contextual version, to be used for values of given property. This may be the type itself (as is the case for bean properties), or values contained (for Collection or Map valued properties).
        Specified by:
        forProperty in class TypeDeserializer
      • getTypeInclusion

        public abstract JsonTypeInfo.As getTypeInclusion()
        Description copied from class: TypeDeserializer
        Accessor for type information inclusion method that deserializer uses; indicates how type information is (expected to be) embedded in JSON input.
        Specified by:
        getTypeInclusion in class TypeDeserializer
      • baseTypeName

        public java.lang.String baseTypeName()
      • getPropertyName

        public final java.lang.String getPropertyName()
        Description copied from class: TypeDeserializer
        Name of property that contains type information, if property-based inclusion is used.
        Specified by:
        getPropertyName in class TypeDeserializer
      • getDefaultImpl

        public java.lang.Class<?> getDefaultImpl()
        Description copied from class: TypeDeserializer
        Accessor for "default implementation" type; optionally defined class to use in cases where type id is not accessible for some reason (either missing, or cannot be resolved)
        Specified by:
        getDefaultImpl in class TypeDeserializer
      • baseType

        public JavaType baseType()
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object