java.lang.Object
tools.jackson.databind.deser.Deserializers.Base
- All Implemented Interfaces:
Deserializers
- Direct Known Subclasses:
SimpleDeserializers
- Enclosing interface:
- Deserializers
Basic
Deserializers implementation that implements all methods but provides
no deserializers. Its main purpose is to serve as a base class so that
sub-classes only need to override methods they need, as most of the time some
of methods are not needed (especially enumeration and array deserializers are
very rarely overridden).-
Nested Class Summary
Nested classes/interfaces inherited from interface tools.jackson.databind.deser.Deserializers
Deserializers.Base -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanhasDeserializerFor(DeserializationConfig config, Class<?> valueType) 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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tools.jackson.databind.deser.Deserializers
findArrayDeserializer, findBeanDeserializer, findCollectionDeserializer, findCollectionLikeDeserializer, findEnumDeserializer, findMapDeserializer, findMapLikeDeserializer, findReferenceDeserializer, findTreeNodeDeserializer
-
Constructor Details
-
Base
public Base()
-
-
Method Details
-
hasDeserializerFor
Description copied from interface:DeserializersMethod 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.
- Specified by:
hasDeserializerForin interfaceDeserializers
-