Top Constructors Methods
com.fasterxml.jackson.datatype.hppc.deser

public Class HppcDeserializers

extends Base
Class Inheritance
Imports
com.fasterxml.jackson.databind.BeanDescription, .DeserializationConfig, .JavaType, .JsonDeserializer, .JsonMappingException, com.fasterxml.jackson.databind.deser.Deserializers

Constructor Summary

AccessConstructor and Description
public

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.deser.Deserializers.Base.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 boolean
hasDeserializerFor(DeserializationConfig config, Class<?> valueType)

Overrides default com.fasterxml.jackson.databind.deser.Deserializers.hasDeserializerFor.

Method that may be called to check whether this deserializer provider would provide deserializer for values of given type, without attempting to construct (and possibly fail in some cases) actual deserializer.

Inherited from com.fasterxml.jackson.databind.deser.Deserializers.Base:
findArrayDeserializerfindCollectionDeserializerfindCollectionLikeDeserializerfindEnumDeserializerfindMapDeserializerfindMapLikeDeserializerfindReferenceDeserializerfindTreeNodeDeserializer

Constructor Detail

HppcDeserializersback to summary
public HppcDeserializers()

Method Detail

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

Overrides com.fasterxml.jackson.databind.deser.Deserializers.Base.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
hasDeserializerForback to summary
public boolean hasDeserializerFor(DeserializationConfig config, Class<?> valueType)

Overrides default com.fasterxml.jackson.databind.deser.Deserializers.hasDeserializerFor.

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

Method that may be called to check whether this deserializer provider would provide deserializer for values of given type, without attempting to construct (and possibly fail in some cases) actual deserializer. Mostly needed to support validation of polymorphic type ids.

Note

implementations should take care NOT to claim supporting types that they do not recognize as this could to incorrect assumption of safe support by caller.

Method added in Jackson 2.13 now that Java 8 default implementations are available for use with interface definitions.

Annotations
@Override