Class TypeDeserializerBase

java.lang.Object
com.fasterxml.jackson.databind.jsontype.TypeDeserializer
com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AsArrayTypeDeserializer, AsWrapperTypeDeserializer

public abstract class TypeDeserializerBase extends TypeDeserializer implements Serializable
Base class for all standard Jackson TypeDeserializers.
See Also:
  • Field Details

    • _idResolver

      protected final TypeIdResolver _idResolver
    • _baseType

      protected final JavaType _baseType
    • _property

      protected final BeanProperty _property
      Property that contains value for which type information is included; null if value is a root value. Note that this value is not assigned during construction but only when forProperty(com.fasterxml.jackson.databind.BeanProperty) is called to create a copy.
    • _defaultImpl

      protected final JavaType _defaultImpl
      Type to use as the default implementation, if type id is missing or cannot be resolved.
    • _typePropertyName

      protected final String _typePropertyName
      Name of type property used; needed for non-property versions too, in cases where type id is to be exposed as part of JSON.
    • _typeIdVisible

      protected final boolean _typeIdVisible
    • _deserializers

      protected final Map<String,JsonDeserializer<Object>> _deserializers
      For efficient operation we will lazily build mappings from type ids to actual deserializers, once needed.
    • _defaultImplDeserializer

      protected JsonDeserializer<Object> _defaultImplDeserializer
  • Constructor Details

  • Method Details