| Modifier and Type | Field and Description |
|---|---|
| protected BoundType | |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JsonDeserializer | findBeanDeserializer(final 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. Implements com. 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) |
| private Optional | Returns: An optionalJsonDeserializer for the cache type, if found.Find matching implementation of |
| 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
elementDeserializer)ResolvableDeserializer callback)Overrides com. Implements com. We have plenty of collection types to support... |
| public JsonDeserializer | findMapDeserializer(MapType
Type of type, DeserializationConfig java. instances to deserializeConfiguration in effect config, BeanDescription Definition of the enumeration type that contains class annotations and
other information typically needed for building deserializers beanDesc, KeyDeserializer Key deserializer use, if it is defined via annotations or other configuration;
null if default key deserializer for key type can be used. keyDeserializer, 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. valueTypeDeserializer, 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
valueDeserializer)ResolvableDeserializer callback)Overrides com. Implements com. A few Map types to support. |
| public JsonDeserializer | findMapLikeDeserializer(MapLikeType
Type of type, DeserializationConfig java. instances to deserializeConfiguration in effect config, BeanDescription Definition of the enumeration type that contains class annotations and
other information typically needed for building deserializers beanDesc, KeyDeserializer Key deserializer use, if it is defined via annotations or other configuration;
null if default key deserializer for key type can be used. keyDeserializer, 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
elementDeserializer)ResolvableDeserializer callback)Overrides com. Implements com. Method called to locate serializer for specified
"Map-like" type (one that acts
like |
| public JsonDeserializer | findReferenceDeserializer(ReferenceType
Specific referential type to deserialize refType, DeserializationConfig Configuration in effect config, BeanDescription Definition of the reference type that contains class annotations and
other information typically needed for building deserializers beanDesc, TypeDeserializer Possible type deserializer for referenced value contentTypeDeserializer, JsonDeserializer<?> Value deserializer to use for referenced value, if indicated
by property annotation contentDeserializer)Overrides com. Implements com. Method called to locate deserializer for value that is of referential type, |
| public boolean | hasDeserializerFor(DeserializationConfig config, Class<?> valueType)
Overrides default com. 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. |
| private void |
| _defaultBoundType | back to summary |
|---|---|
| protected BoundType _defaultBoundType | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| GuavaDeserializers | back to summary |
|---|---|
| public GuavaDeserializers() | |
| GuavaDeserializers | back to summary |
|---|---|
| public GuavaDeserializers(BoundType defaultBoundType) | |
| findBeanDeserializer | back to summary |
|---|---|
| public JsonDeserializer Overrides com. Implements com. Doc from com. 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)
| |
| findCacheDeserializer | back to summary |
|---|---|
| private Optional Find matching implementation of Note Make sure the cache implementations are checked in such a way that more concrete classes are compared first before more abstract ones.
| |
| findCollectionDeserializer | back to summary |
|---|---|
| public JsonDeserializer Overrides com. Implements com. We have plenty of collection types to support...
| |
| findMapDeserializer | back to summary |
|---|---|
| public JsonDeserializer Overrides com. Implements com. A few Map types to support.
| |
| findMapLikeDeserializer | back to summary |
|---|---|
| public JsonDeserializer Overrides com. Implements com. Doc from com. Method called to locate serializer for specified
"Map-like" type (one that acts
like 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).
Similarly, a
| |
| findReferenceDeserializer | back to summary |
|---|---|
| public JsonDeserializer Overrides com. Implements com. Doc from com. Method called to locate deserializer for value that is of referential type,
| |
| hasDeserializerFor | back to summary |
|---|---|
| public boolean hasDeserializerFor(DeserializationConfig config, Class<?> valueType) Overrides default com. Doc from com. 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.
| |
| requireCollectionOfComparableElements | back to summary |
|---|---|
| private void requireCollectionOfComparableElements(CollectionType actualType, String targetType) | |