Uses of Interface
com.fasterxml.jackson.databind.deser.NullValueProvider
Packages that use NullValueProvider
Package
Description
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode
), as well as
writing Java Objects and trees as JSON.Contains implementation classes of deserialization part of
data binding.
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
Contains public standard implementations of abstraction that
Jackson uses.
Contains extended support for "external" packages: things that
may or may not be present in runtime environment, but that are
commonly enough used so that explicit support can be added.
-
Uses of NullValueProvider in com.fasterxml.jackson.databind
Classes in com.fasterxml.jackson.databind that implement NullValueProviderModifier and TypeClassDescriptionclass
Abstract class that defines API used byObjectMapper
(and other chainedJsonDeserializer
s too) to deserialize Objects of arbitrary types from JSON, using providedJsonParser
.static class
This marker class is only to be used with annotations, to indicate that no deserializer is configured. -
Uses of NullValueProvider in com.fasterxml.jackson.databind.deser
Classes in com.fasterxml.jackson.databind.deser that implement NullValueProviderModifier and TypeClassDescriptionclass
Deserializer only used for abstract types used as placeholders during polymorphic type handling deserialization.class
Deserializer class that can deserialize instances of arbitrary bean objects, usually from JSON Object structs,class
Base class forBeanDeserializer
.class
Class that handles deserialization using a separate Builder class, which is used for data binding and produces actual deserialized value at the end of data binding.Fields in com.fasterxml.jackson.databind.deser declared as NullValueProviderModifier and TypeFieldDescriptionprotected final NullValueProvider
SettableBeanProperty._nullProvider
Entity used for possible translation from `null` into non-null value of type of this property.Methods in com.fasterxml.jackson.databind.deser that return NullValueProviderMethods in com.fasterxml.jackson.databind.deser with parameters of type NullValueProviderModifier and TypeMethodDescriptionCreatorProperty.withNullProvider
(NullValueProvider nva) SettableBeanProperty.Delegating.withNullProvider
(NullValueProvider nva) abstract SettableBeanProperty
SettableBeanProperty.withNullProvider
(NullValueProvider nva) Constructors in com.fasterxml.jackson.databind.deser with parameters of type NullValueProviderModifierConstructorDescriptionprotected
CreatorProperty
(CreatorProperty src, JsonDeserializer<?> deser, NullValueProvider nva) protected
SettableBeanProperty
(SettableBeanProperty src, JsonDeserializer<?> deser, NullValueProvider nuller) Copy-with-deserializer-change constructor for sub-classes to use. -
Uses of NullValueProvider in com.fasterxml.jackson.databind.deser.impl
Classes in com.fasterxml.jackson.databind.deser.impl that implement NullValueProviderModifier and TypeClassDescriptionclass
class
Variant ofBeanDeserializer
used for handling deserialization of POJOs when serialized as JSON Arrays, instead of JSON Objects.class
A deserializer that stores anError
caught during constructing of the deserializer, which needs to be deferred and only during actual attempt to deserialize a value of given type.class
Special bogus "serializer" that will throwMismatchedInputException
if an attempt is made to deserialize a value.class
SimpleNullValueProvider
that will return "empty value" specified byJsonDeserializer
provider is constructed with.class
SimpleNullValueProvider
that will simply return given constant value when a null is encountered; or, with a specially constructed instance (seeNullsConstantProvider.skipper()
, indicate the need for special behavior of skipping property altogether (not setting as anything OR throwing exception).class
SimpleNullValueProvider
that will always throw aInvalidNullException
when a null is encountered.final class
Simple deserializer that will call configured type deserializer, passing in configured data deserializer, and exposing it all as a simple deserializer.class
Special bogus "serializer" that will throwMismatchedInputException
if an attempt is made to deserialize a value.Methods in com.fasterxml.jackson.databind.deser.impl with parameters of type NullValueProviderModifier and TypeMethodDescriptionstatic boolean
NullsConstantProvider.isNuller
(NullValueProvider p) Utility method that can be used to check if given null value provider is "nuller", no-operation provider that will always simply return Java `null` for any and all input `null`s.static boolean
NullsConstantProvider.isSkipper
(NullValueProvider p) Utility method that can be used to check if given null value provider is "skipper", marker provider that means that all input `null`s should be skipped (ignored), instead of convertedFieldProperty.withNullProvider
(NullValueProvider nva) MethodProperty.withNullProvider
(NullValueProvider nva) ObjectIdReferenceProperty.withNullProvider
(NullValueProvider nva) ObjectIdValueProperty.withNullProvider
(NullValueProvider nva) SetterlessProperty.withNullProvider
(NullValueProvider nva) Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type NullValueProviderModifierConstructorDescriptionprotected
FieldProperty
(FieldProperty src, JsonDeserializer<?> deser, NullValueProvider nva) protected
MethodProperty
(MethodProperty src, JsonDeserializer<?> deser, NullValueProvider nva) ObjectIdReferenceProperty
(ObjectIdReferenceProperty src, JsonDeserializer<?> deser, NullValueProvider nva) protected
ObjectIdValueProperty
(ObjectIdValueProperty src, JsonDeserializer<?> deser, NullValueProvider nva) protected
SetterlessProperty
(SetterlessProperty src, JsonDeserializer<?> deser, NullValueProvider nva) -
Uses of NullValueProvider in com.fasterxml.jackson.databind.deser.std
Classes in com.fasterxml.jackson.databind.deser.std that implement NullValueProviderModifier and TypeClassDescriptionclass
We need a custom deserializer both becauseArrayBlockingQueue
has no default constructor AND because it has size limit used for constructing underlying storage automatically.class
class
class
class
class
class
Basic serializer that can take JSON "Array" structure and construct aCollection
instance, with typed contents.class
Intermediate base deserializer class that adds more shared accessor so that other classes can access information about contained (value) typesstatic class
protected static class
static class
Simple deserializer for handlingDate
values.static class
Compared to plain oldDate
, SQL version is easier to deal with: mostly because it is more limited.static class
Simple deserializer for handlingTimestamp
values.class
Base class that simplifies implementations ofJsonDeserializer
s that mostly delegate functionality to another deserializer implementation (possibly forming a chaining of deserializers delegating functionality in some cases)class
Deserializer class that can deserialize instances of specified Enum class from Strings and Integers.class
Deserializer forEnumMap
values.class
Standard deserializer forEnumSet
s.class
Base class for simple deserializers that serialize values from String representation: this includes JSON Strings and other Scalar values that can be coerced into text, like Numbers and Booleans).static class
"Chameleon" deserializer that works on simple types that are deserialized from a simple String.class
class
Basic deserializer that can take JSON "Object" structure and construct aMap
instance, with typed contents.class
Basic serializer that can take JSON "Object" structure and construct aMap
instance, with typed contents.class
Bogus deserializer that will simply skip all content there is to map and returns Java null reference.static class
static class
This is bit trickier to implement efficiently, while avoiding overflow problems.static final class
static class
static class
static class
static class
static final class
static final class
static class
For typeNumber.class
, we can just rely on type mappings that plainJsonParser.getNumberValue()
returns.protected static class
static class
class
Serializer that can serialize non-primitive arrays.class
Container for deserializers used for instantiating "primitive arrays", arrays that contain non-object java primitive types.class
Base deserializer implementation for propertiesReferenceType
values.class
class
Deserializer implementation where given Java type is first deserialized by a standard Jackson deserializer into a delegate type; and then this delegate type is converted using a configuredConverter
into desired target type.class
Base class for common deserializers.class
Convenience deserializer that may be used to deserialize values given an intermediate tree representation (JsonNode
).class
Base class for deserializers that handle types that are serialized as JSON scalars (non-structured, i.e.final class
Separate implementation for serializing String arrays (instead of usingObjectArrayDeserializer
.final class
Specifically optimized version forCollection
s that contain String values; reason is that this is a very common type and we can make use of the fact that Strings are final.class
class
Deserializer that builds on basicBeanDeserializer
but override some aspects like instance construction.class
We also want to directly support deserialization ofTokenBuffer
.class
Deserializer implementation that is used if it is necessary to bind content of "unknown" type; something declared as basicObject
(either explicitly, or due to type erasure).static class
Deprecated.class
Fields in com.fasterxml.jackson.databind.deser.std declared as NullValueProviderModifier and TypeFieldDescriptionprotected final NullValueProvider
PrimitiveArrayDeserializers._nuller
Flag that indicates need for special handling; either failing (throw exception) or skippingprotected final NullValueProvider
ContainerDeserializerBase._nullProvider
Handler we need for dealing with nulls.protected final NullValueProvider
EnumSetDeserializer._nullProvider
Handler we need for dealing with nulls.protected final NullValueProvider
StringArrayDeserializer._nullProvider
Handler we need for dealing with null values as elementsMethods in com.fasterxml.jackson.databind.deser.std that return NullValueProviderModifier and TypeMethodDescriptionprotected final NullValueProvider
StdDeserializer._findNullProvider
(DeserializationContext ctxt, BeanProperty prop, com.fasterxml.jackson.annotation.Nulls nulls, JsonDeserializer<?> valueDeser) protected NullValueProvider
StdDeserializer.findContentNullProvider
(DeserializationContext ctxt, BeanProperty prop, JsonDeserializer<?> valueDeser) Method called to findNullValueProvider
for a contents of a structured primary property (Collection, Map, array), using "content nulls" setting.protected final NullValueProvider
StdDeserializer.findValueNullProvider
(DeserializationContext ctxt, SettableBeanProperty prop, PropertyMetadata propMetadata) Method called to findNullValueProvider
for a primary property, using "value nulls" setting.Methods in com.fasterxml.jackson.databind.deser.std with parameters of type NullValueProviderModifier and TypeMethodDescriptionprotected final String
StdDeserializer._parseString
(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, NullValueProvider nullProvider) Helper method used for deserializing String value, if possible, doing necessary conversion or throwing exception as necessary.protected ArrayBlockingQueueDeserializer
ArrayBlockingQueueDeserializer.withResolved
(JsonDeserializer<?> dd, JsonDeserializer<?> vd, TypeDeserializer vtd, NullValueProvider nuller, Boolean unwrapSingle) Fluent-factory method call to construct contextual instance.protected CollectionDeserializer
CollectionDeserializer.withResolved
(JsonDeserializer<?> dd, JsonDeserializer<?> vd, TypeDeserializer vtd, NullValueProvider nuller, Boolean unwrapSingle) Fluent-factory method call to construct contextual instance.EnumMapDeserializer.withResolved
(KeyDeserializer keyDeserializer, JsonDeserializer<?> valueDeserializer, TypeDeserializer valueTypeDeser, NullValueProvider nuller) EnumSetDeserializer.withResolved
(JsonDeserializer<?> deser, NullValueProvider nuller, Boolean unwrapSingle) Deprecated.Since 2.17EnumSetDeserializer.withResolved
(JsonDeserializer<?> deser, TypeDeserializer valueTypeDeser, NullValueProvider nuller, Boolean unwrapSingle) protected MapDeserializer
MapDeserializer.withResolved
(KeyDeserializer keyDeser, TypeDeserializer valueTypeDeser, JsonDeserializer<?> valueDeser, NullValueProvider nuller, Set<String> ignorable) Fluent factory method used to create a copy with slightly different settings.protected MapDeserializer
MapDeserializer.withResolved
(KeyDeserializer keyDeser, TypeDeserializer valueTypeDeser, JsonDeserializer<?> valueDeser, NullValueProvider nuller, Set<String> ignorable, Set<String> includable) ObjectArrayDeserializer.withResolved
(TypeDeserializer elemTypeDeser, JsonDeserializer<?> elemDeser, NullValueProvider nuller, Boolean unwrapSingle) protected abstract PrimitiveArrayDeserializers
<?> PrimitiveArrayDeserializers.withResolved
(NullValueProvider nuller, Boolean unwrapSingle) protected StringCollectionDeserializer
StringCollectionDeserializer.withResolved
(JsonDeserializer<?> delegateDeser, JsonDeserializer<?> valueDeser, NullValueProvider nuller, Boolean unwrapSingle) Constructors in com.fasterxml.jackson.databind.deser.std with parameters of type NullValueProviderModifierConstructorDescriptionprotected
ArrayBlockingQueueDeserializer
(JavaType containerType, JsonDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator, JsonDeserializer<Object> delegateDeser, NullValueProvider nuller, Boolean unwrapSingle) Constructor used when creating contextualized instances.protected
CollectionDeserializer
(JavaType collectionType, JsonDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator, JsonDeserializer<Object> delegateDeser, NullValueProvider nuller, Boolean unwrapSingle) Constructor used when creating contextualized instances.protected
ContainerDeserializerBase
(ContainerDeserializerBase<?> base, NullValueProvider nuller, Boolean unwrapSingle) protected
ContainerDeserializerBase
(JavaType selfType, NullValueProvider nuller, Boolean unwrapSingle) protected
EnumMapDeserializer
(EnumMapDeserializer base, KeyDeserializer keyDeser, JsonDeserializer<?> valueDeser, TypeDeserializer vtd, NullValueProvider nuller) EnumMapDeserializer
(JavaType mapType, ValueInstantiator valueInst, KeyDeserializer keyDeser, JsonDeserializer<?> valueDeser, TypeDeserializer vtd, NullValueProvider nuller) protected
EnumSetDeserializer
(EnumSetDeserializer base, JsonDeserializer<?> deser, NullValueProvider nuller, Boolean unwrapSingle) protected
MapDeserializer
(MapDeserializer src, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, NullValueProvider nuller, Set<String> ignorable) protected
MapDeserializer
(MapDeserializer src, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, NullValueProvider nuller, Set<String> ignorable, Set<String> includable) protected
ObjectArrayDeserializer
(ObjectArrayDeserializer base, JsonDeserializer<Object> elemDeser, TypeDeserializer elemTypeDeser, NullValueProvider nuller, Boolean unwrapSingle) protected
PrimitiveArrayDeserializers
(PrimitiveArrayDeserializers<?> base, NullValueProvider nuller, Boolean unwrapSingle) protected
StringArrayDeserializer
(JsonDeserializer<?> deser, NullValueProvider nuller, Boolean unwrapSingle) protected
StringCollectionDeserializer
(JavaType collectionType, ValueInstantiator valueInstantiator, JsonDeserializer<?> delegateDeser, JsonDeserializer<?> valueDeser, NullValueProvider nuller, Boolean unwrapSingle) -
Uses of NullValueProvider in com.fasterxml.jackson.databind.ext
Classes in com.fasterxml.jackson.databind.ext that implement NullValueProviderModifier and TypeClassDescriptionstatic class
Combo-deserializer that supports deserialization of somewhat optional javax.xml typesQName
,Duration
andXMLGregorianCalendar
.class
Base for serializers that allows parsing DOM Documents from JSON Strings.static class
static class
class