Top Fields Constructors Methods
com.fasterxml.jackson.dataformat.ion.ionvalue

pack-priv Class DeserializersEx

extends SimpleDeserializers
Class Inheritance
Imports
com.fasterxml.jackson.databind.BeanDescription, .DeserializationConfig, .JavaType, .JsonDeserializer, .JsonMappingException, com.fasterxml.jackson.databind.jsontype.TypeDeserializer, com.fasterxml.jackson.databind.module.SimpleDeserializers, com.fasterxml.jackson.databind.type.CollectionType, com.amazon.ion.IonContainer, .IonValue

Field Summary

Modifier and TypeField and Description
private static final IonValueDeserializer
private static final long
Inherited from com.fasterxml.jackson.databind.module.SimpleDeserializers:
_classMappings_hasEnumDeserializer

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public JsonDeserializer<?>
findBeanDeserializer(JavaType
Bean type to deserialize
type
,
DeserializationConfig
Configuration in effect
config
,
BeanDescription
Definition of the enumeration type that contains class annotations and other information typically needed for building deserializers
beanDesc
)

Overrides com.fasterxml.jackson.databind.module.SimpleDeserializers.findBeanDeserializer.

Implements com.fasterxml.jackson.databind.deser.Deserializers.findBeanDeserializer.

Method called to locate deserializer for specified value type which does not belong to any other category (not an Enum, Collection, Map, Array, reference value or tree node)

public JsonDeserializer<?>
findCollectionDeserializer(CollectionType
Type of collection instances to deserialize
type
,
DeserializationConfig
Configuration in effect
config
,
BeanDescription
Definition of the enumeration type that contains class annotations and other information typically needed for building deserializers
beanDesc
,
TypeDeserializer
If element type needs polymorphic type handling, this is the type information deserializer to use; should usually be used as is when constructing array deserializer.
elementTypeDeserializer
,
JsonDeserializer<?>
Deserializer to use for elements, if explicitly defined (by using annotations, for exmple). May be null, in which case it should be resolved here (or using ResolvableDeserializer callback)
elementDeserializer
)

Overrides com.fasterxml.jackson.databind.module.SimpleDeserializers.findCollectionDeserializer.

Implements com.fasterxml.jackson.databind.deser.Deserializers.findCollectionDeserializer.

Method called to locate serializer for specified java.util.Collection (List, Set etc) type.

Inherited from com.fasterxml.jackson.databind.module.SimpleDeserializers:
addDeserializeraddDeserializersfindArrayDeserializerfindCollectionLikeDeserializerfindEnumDeserializerfindMapDeserializerfindMapLikeDeserializerfindReferenceDeserializerfindTreeNodeDeserializerhasDeserializerFor

Field Detail

ION_VALUE_DESERIALIZERback to summary
private static final IonValueDeserializer ION_VALUE_DESERIALIZER
serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.fasterxml.jackson.databind.module.SimpleDeserializers.serialVersionUID.

Constructor Detail

DeserializersExback to summary
pack-priv DeserializersEx()

Method Detail

findBeanDeserializerback to summary
public JsonDeserializer<?> findBeanDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc) throws JsonMappingException

Overrides com.fasterxml.jackson.databind.module.SimpleDeserializers.findBeanDeserializer.

Implements com.fasterxml.jackson.databind.deser.Deserializers.findBeanDeserializer.

Doc from com.fasterxml.jackson.databind.deser.Deserializers.findBeanDeserializer.

Method called to locate deserializer for specified value type which does not belong to any other category (not an Enum, Collection, Map, Array, reference value or tree node)

Parameters
type:JavaType

Bean type to deserialize

config:DeserializationConfig

Configuration in effect

beanDesc:BeanDescription

Definition of the enumeration type that contains class annotations and other information typically needed for building deserializers

Returns:JsonDeserializer<?>

Deserializer to use for the type; or null if this provider does not know how to construct it

Annotations
@Override
findCollectionDeserializerback to summary
public JsonDeserializer<?> findCollectionDeserializer(CollectionType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer) throws JsonMappingException

Overrides com.fasterxml.jackson.databind.module.SimpleDeserializers.findCollectionDeserializer.

Implements com.fasterxml.jackson.databind.deser.Deserializers.findCollectionDeserializer.

Doc from com.fasterxml.jackson.databind.deser.Deserializers.findCollectionDeserializer.

Method called to locate serializer for specified java.util.Collection (List, Set etc) type.

Deserializer for element type may be passed, if configured explicitly at higher level (by annotations, typically), but usually are not. Type deserializer for element is passed if one is needed based on contextual information (annotations on declared element class; or on field or method type is associated with).

Parameters
type:CollectionType

Type of collection instances to deserialize

config:DeserializationConfig

Configuration in effect

beanDesc:BeanDescription

Definition of the enumeration type that contains class annotations and other information typically needed for building deserializers

elementTypeDeserializer:TypeDeserializer

If element type needs polymorphic type handling, this is the type information deserializer to use; should usually be used as is when constructing array deserializer.

elementDeserializer:JsonDeserializer<?>

Deserializer to use for elements, if explicitly defined (by using annotations, for exmple). May be null, in which case it should be resolved here (or using ResolvableDeserializer callback)

Returns:JsonDeserializer<?>

Deserializer to use for the type; or null if this provider does not know how to construct it

Annotations
@Override