Package tools.jackson.dataformat.avro
Class AvroTypeDeserializer
java.lang.Object
tools.jackson.databind.jsontype.TypeDeserializer
tools.jackson.databind.jsontype.impl.TypeDeserializerBase
tools.jackson.dataformat.avro.AvroTypeDeserializer
public class AvroTypeDeserializer
extends tools.jackson.databind.jsontype.impl.TypeDeserializerBase
-
Field Summary
Fields inherited from class tools.jackson.databind.jsontype.impl.TypeDeserializerBase
_baseType, _defaultImpl, _defaultImplDeserializer, _deserializers, _idResolver, _property, _typeIdVisible, _typePropertyName -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAvroTypeDeserializer(tools.jackson.databind.JavaType baseType, tools.jackson.databind.jsontype.TypeIdResolver idRes, String typePropertyName, boolean typeIdVisible, tools.jackson.databind.JavaType defaultImpl) protectedAvroTypeDeserializer(tools.jackson.databind.jsontype.impl.TypeDeserializerBase src, tools.jackson.databind.BeanProperty property) -
Method Summary
Modifier and TypeMethodDescriptionprotected tools.jackson.databind.JavaType_handleUnknownTypeId(tools.jackson.databind.DeserializationContext ctxt, String typeId) deserializeTypedFromAny(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt) deserializeTypedFromArray(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt) deserializeTypedFromObject(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt) deserializeTypedFromScalar(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt) tools.jackson.databind.jsontype.TypeDeserializerforProperty(tools.jackson.databind.BeanProperty prop) com.fasterxml.jackson.annotation.JsonTypeInfo.AsMethods inherited from class tools.jackson.databind.jsontype.impl.TypeDeserializerBase
_deserializeWithNativeTypeId, _findDefaultImplDeserializer, _findDeserializer, _handleMissingTypeId, baseType, baseTypeName, getDefaultImpl, getPropertyName, getTypeIdResolver, hasDefaultImpl, toStringMethods inherited from class tools.jackson.databind.jsontype.TypeDeserializer
deserializeIfNatural, deserializeIfNatural
-
Constructor Details
-
AvroTypeDeserializer
protected AvroTypeDeserializer(tools.jackson.databind.JavaType baseType, tools.jackson.databind.jsontype.TypeIdResolver idRes, String typePropertyName, boolean typeIdVisible, tools.jackson.databind.JavaType defaultImpl) -
AvroTypeDeserializer
protected AvroTypeDeserializer(tools.jackson.databind.jsontype.impl.TypeDeserializerBase src, tools.jackson.databind.BeanProperty property)
-
-
Method Details
-
forProperty
public tools.jackson.databind.jsontype.TypeDeserializer forProperty(tools.jackson.databind.BeanProperty prop) - Specified by:
forPropertyin classtools.jackson.databind.jsontype.impl.TypeDeserializerBase
-
getTypeInclusion
public com.fasterxml.jackson.annotation.JsonTypeInfo.As getTypeInclusion()- Specified by:
getTypeInclusionin classtools.jackson.databind.jsontype.impl.TypeDeserializerBase
-
deserializeTypedFromObject
public Object deserializeTypedFromObject(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt) throws tools.jackson.core.JacksonException - Specified by:
deserializeTypedFromObjectin classtools.jackson.databind.jsontype.TypeDeserializer- Throws:
tools.jackson.core.JacksonException
-
deserializeTypedFromArray
public Object deserializeTypedFromArray(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt) throws tools.jackson.core.JacksonException - Specified by:
deserializeTypedFromArrayin classtools.jackson.databind.jsontype.TypeDeserializer- Throws:
tools.jackson.core.JacksonException
-
deserializeTypedFromScalar
public Object deserializeTypedFromScalar(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt) throws tools.jackson.core.JacksonException - Specified by:
deserializeTypedFromScalarin classtools.jackson.databind.jsontype.TypeDeserializer- Throws:
tools.jackson.core.JacksonException
-
deserializeTypedFromAny
public Object deserializeTypedFromAny(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt) throws tools.jackson.core.JacksonException - Specified by:
deserializeTypedFromAnyin classtools.jackson.databind.jsontype.TypeDeserializer- Throws:
tools.jackson.core.JacksonException
-
_handleUnknownTypeId
protected tools.jackson.databind.JavaType _handleUnknownTypeId(tools.jackson.databind.DeserializationContext ctxt, String typeId) throws tools.jackson.core.JacksonException - Overrides:
_handleUnknownTypeIdin classtools.jackson.databind.jsontype.impl.TypeDeserializerBase- Throws:
tools.jackson.core.JacksonException
-