Uses of Interface
tools.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.
Package that contains standard value and key deserializer implementations
Jackson uses for its own public types.
Package that contains standard value and key deserializer implementations
Jackson uses for core JDK types.
Package that contains standard value and key deserializer base classes
that Jackson both uses for its own implementations and offers for
module developers as convenient partial implementations.
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.
Package that contains handlers specific to datatypes introduced in Java 8.
Package that contains handlers specific to SQL datatypes.
-
Uses of NullValueProvider in tools.jackson.databind
Classes in tools.jackson.databind that implement NullValueProviderModifier and TypeClassDescriptionclassAbstract class that defines API used byObjectMapperandObjectReaderto deserialize Objects of arbitrary types from JSON, using providedJsonParser(within current read context ofDeserializationContext.static classThis marker class is only to be used with annotations, to indicate that no deserializer is configured. -
Uses of NullValueProvider in tools.jackson.databind.deser
Classes in tools.jackson.databind.deser that implement NullValueProviderModifier and TypeClassDescriptionclassDeserializer only used for abstract types used as placeholders during polymorphic type handling deserialization.Fields in tools.jackson.databind.deser declared as NullValueProviderModifier and TypeFieldDescriptionprotected final NullValueProviderSettableBeanProperty._nullProviderEntity used for possible translation from `null` into non-null value of type of this property.Methods in tools.jackson.databind.deser that return NullValueProviderMethods in tools.jackson.databind.deser with parameters of type NullValueProviderModifier and TypeMethodDescriptionCreatorProperty.withNullProvider(NullValueProvider nva) SettableBeanProperty.Delegating.withNullProvider(NullValueProvider nva) abstract SettableBeanPropertySettableBeanProperty.withNullProvider(NullValueProvider nva) Constructors in tools.jackson.databind.deser with parameters of type NullValueProviderModifierConstructorDescriptionprotectedCreatorProperty(CreatorProperty src, ValueDeserializer<?> deser, NullValueProvider nva) protectedSettableBeanProperty(SettableBeanProperty src, ValueDeserializer<?> deser, NullValueProvider nuller) Copy-with-deserializer-change constructor for sub-classes to use. -
Uses of NullValueProvider in tools.jackson.databind.deser.bean
Classes in tools.jackson.databind.deser.bean that implement NullValueProviderModifier and TypeClassDescriptionclassclassVariant ofBeanDeserializerused for handling deserialization of POJOs when serialized as JSON Arrays, instead of JSON Objects.classDeserializer class that can deserialize instances of arbitrary bean objects, usually from JSON Object structs,classBase class forBeanDeserializer.classClass 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. -
Uses of NullValueProvider in tools.jackson.databind.deser.impl
Classes in tools.jackson.databind.deser.impl that implement NullValueProviderModifier and TypeClassDescriptionclassA deserializer that stores anErrorcaught during constructing of the deserializer, which needs to be deferred and only during actual attempt to deserialize a value of given type.classSpecial bogus "serializer" that will throwMismatchedInputExceptionif an attempt is made to deserialize a value.classSimpleNullValueProviderthat will return "empty value" specified byValueDeserializerprovider is constructed with.classSimpleNullValueProviderthat 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).classSimpleNullValueProviderthat will always throw aInvalidNullExceptionwhen a null is encountered.final classSimple deserializer that will call configured type deserializer, passing in configured data deserializer, and exposing it all as a simple deserializer.classSpecial bogus "serializer" that will throwMismatchedInputExceptionif an attempt is made to deserialize a value.Methods in tools.jackson.databind.deser.impl with parameters of type NullValueProviderModifier and TypeMethodDescriptionstatic booleanNullsConstantProvider.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 booleanNullsConstantProvider.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 convertedMethodProperty.withNullProvider(NullValueProvider nva) ObjectIdReferenceProperty.withNullProvider(NullValueProvider nva) ObjectIdValueProperty.withNullProvider(NullValueProvider nva) SetterlessProperty.withNullProvider(NullValueProvider nva) Constructors in tools.jackson.databind.deser.impl with parameters of type NullValueProviderModifierConstructorDescriptionprotectedMethodProperty(MethodProperty src, ValueDeserializer<?> deser, NullValueProvider nva) ObjectIdReferenceProperty(ObjectIdReferenceProperty src, ValueDeserializer<?> deser, NullValueProvider nva) protectedObjectIdValueProperty(ObjectIdValueProperty src, ValueDeserializer<?> deser, NullValueProvider nva) protectedSetterlessProperty(SetterlessProperty src, ValueDeserializer<?> deser, NullValueProvider nva) -
Uses of NullValueProvider in tools.jackson.databind.deser.jackson
Classes in tools.jackson.databind.deser.jackson that implement NullValueProviderModifier and TypeClassDescriptionclassBaseNodeDeserializer<T extends JsonNode>Base class for all actualJsonNodedeserializer implementations.classclassWe also want to directly support deserialization ofTokenBuffer. -
Uses of NullValueProvider in tools.jackson.databind.deser.jdk
Classes in tools.jackson.databind.deser.jdk that implement NullValueProviderModifier and TypeClassDescriptionclassWe need a custom deserializer both becauseArrayBlockingQueuehas no default constructor AND because it has size limit used for constructing underlying storage automatically.classclassclassclassclassclassBasic serializer that can take JSON "Array" structure and construct aCollectioninstance, with typed contents.classclassDeserializer class that can deserialize instances of specified Enum class from Strings and Integers.classDeserializer forEnumMapvalues.classStandard deserializer forEnumSets.classclassSimple deserializer for handlingDatevalues.classBase 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).classBasic deserializer that can take JSON "Object" structure and construct aMapinstance, with typed contents.classBasic serializer that can take JSON "Object" structure and construct aMap.Entryinstance, with typed contents.static classstatic classThis is bit trickier to implement efficiently, while avoiding overflow problems.static final classstatic classstatic classstatic classstatic classstatic final classstatic final classstatic classFor typeNumber.class, we can just rely on type mappings that plainJsonParser.getNumberValue()returns.protected static classstatic classclassSerializer that can serialize non-primitive arrays.classContainer for deserializers used for instantiating "primitive arrays", arrays that contain non-object java primitive types.classfinal classSeparate implementation for serializing String arrays (instead of usingObjectArrayDeserializer.final classSpecifically optimized version forCollections 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.classclassDeserializer for theThreadGroupclass: due to limited access, will only try to extract"name"property and ignores everything else.classDeserializer that builds on basicBeanDeserializerbut override some aspects like instance construction.classDeserializer 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).classFields in tools.jackson.databind.deser.jdk declared as NullValueProviderModifier and TypeFieldDescriptionprotected final NullValueProviderPrimitiveArrayDeserializers._nullerFlag that indicates need for special handling; either failing (throw exception) or skippingprotected final NullValueProviderEnumSetDeserializer._nullProviderHandler we need for dealing with nulls.Methods in tools.jackson.databind.deser.jdk with parameters of type NullValueProviderModifier and TypeMethodDescriptionprotected ArrayBlockingQueueDeserializerArrayBlockingQueueDeserializer.withResolved(ValueDeserializer<?> dd, ValueDeserializer<?> vd, TypeDeserializer vtd, NullValueProvider nuller, Boolean unwrapSingle) Fluent-factory method call to construct contextual instance.protected CollectionDeserializerCollectionDeserializer.withResolved(ValueDeserializer<?> dd, ValueDeserializer<?> vd, TypeDeserializer vtd, NullValueProvider nuller, Boolean unwrapSingle) Fluent-factory method call to construct contextual instance.EnumMapDeserializer.withResolved(KeyDeserializer keyDeserializer, ValueDeserializer<?> valueDeserializer, TypeDeserializer valueTypeDeser, NullValueProvider nuller) protected EnumSetDeserializerEnumSetDeserializer.withResolved(ValueDeserializer<?> deser, NullValueProvider nuller, Boolean unwrapSingle) protected MapDeserializerMapDeserializer.withResolved(KeyDeserializer keyDeser, TypeDeserializer valueTypeDeser, ValueDeserializer<?> valueDeser, NullValueProvider nuller, Set<String> ignorable) Fluent factory method used to create a copy with slightly different settings.protected MapDeserializerMapDeserializer.withResolved(KeyDeserializer keyDeser, TypeDeserializer valueTypeDeser, ValueDeserializer<?> valueDeser, NullValueProvider nuller, Set<String> ignorable, Set<String> includable) ObjectArrayDeserializer.withResolved(TypeDeserializer elemTypeDeser, ValueDeserializer<?> elemDeser, NullValueProvider nuller, Boolean unwrapSingle) protected abstract PrimitiveArrayDeserializers<?>PrimitiveArrayDeserializers.withResolved(NullValueProvider nuller, Boolean unwrapSingle) protected StringCollectionDeserializerStringCollectionDeserializer.withResolved(ValueDeserializer<?> delegateDeser, ValueDeserializer<?> valueDeser, NullValueProvider nuller, Boolean unwrapSingle) Constructors in tools.jackson.databind.deser.jdk with parameters of type NullValueProviderModifierConstructorDescriptionprotectedArrayBlockingQueueDeserializer(JavaType containerType, ValueDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator, ValueDeserializer<Object> delegateDeser, NullValueProvider nuller, Boolean unwrapSingle) Constructor used when creating contextualized instances.protectedCollectionDeserializer(JavaType collectionType, ValueDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator, ValueDeserializer<Object> delegateDeser, NullValueProvider nuller, Boolean unwrapSingle) Constructor used when creating contextualized instances.protectedEnumMapDeserializer(EnumMapDeserializer base, KeyDeserializer keyDeser, ValueDeserializer<?> valueDeser, TypeDeserializer vtd, NullValueProvider nuller) EnumMapDeserializer(JavaType mapType, ValueInstantiator valueInst, KeyDeserializer keyDeser, ValueDeserializer<?> valueDeser, TypeDeserializer vtd, NullValueProvider nuller) protectedEnumSetDeserializer(EnumSetDeserializer base, ValueDeserializer<?> deser, NullValueProvider nuller, Boolean unwrapSingle) protectedMapDeserializer(MapDeserializer src, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, NullValueProvider nuller, Set<String> ignorable) protectedMapDeserializer(MapDeserializer src, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, NullValueProvider nuller, Set<String> ignorable, Set<String> includable) protectedObjectArrayDeserializer(ObjectArrayDeserializer base, ValueDeserializer<Object> elemDeser, TypeDeserializer elemTypeDeser, NullValueProvider nuller, Boolean unwrapSingle) protectedPrimitiveArrayDeserializers(PrimitiveArrayDeserializers<?> base, NullValueProvider nuller, Boolean unwrapSingle) protectedStringArrayDeserializer(ValueDeserializer<?> deser, NullValueProvider nuller, Boolean unwrapSingle) protectedStringCollectionDeserializer(JavaType collectionType, ValueInstantiator valueInstantiator, ValueDeserializer<?> delegateDeser, ValueDeserializer<?> valueDeser, NullValueProvider nuller, Boolean unwrapSingle) -
Uses of NullValueProvider in tools.jackson.databind.deser.std
Classes in tools.jackson.databind.deser.std that implement NullValueProviderModifier and TypeClassDescriptionclassIntermediate base deserializer class that adds more shared accessor so that other classes can access information about contained (value) typesclassBase class that simplifies implementations ofValueDeserializers that mostly delegate functionality to another deserializer implementation (possibly forming a chaining of deserializers delegating functionality in some cases)classBase class for building simple scalar value deserializers that accept String values.classBogus deserializer that will simply skip all content there is to map and returns Java null reference.classBase deserializer implementation for propertiesReferenceTypevalues.classDeserializer 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 configuredConverterinto desired target type.classBase class for common deserializers.classConvenience deserializer that may be used to deserialize values given an intermediate tree representation (JsonNode).classBase class for deserializers that handle types that are serialized as JSON scalars (non-structured, i.e. non-Object, non-Array, values).Fields in tools.jackson.databind.deser.std declared as NullValueProviderModifier and TypeFieldDescriptionprotected final NullValueProviderContainerDeserializerBase._nullProviderHandler we need for dealing with nulls.Methods in tools.jackson.databind.deser.std that return NullValueProviderModifier and TypeMethodDescriptionprotected final NullValueProviderStdDeserializer._findNullProvider(DeserializationContext ctxt, BeanProperty prop, Nulls nulls, ValueDeserializer<?> valueDeser) protected NullValueProviderStdDeserializer.findContentNullProvider(DeserializationContext ctxt, BeanProperty prop, ValueDeserializer<?> valueDeser) Method called to findNullValueProviderfor a contents of a structured primary property (Collection, Map, array), using "content nulls" setting.protected final NullValueProviderStdDeserializer.findValueNullProvider(DeserializationContext ctxt, SettableBeanProperty prop, PropertyMetadata propMetadata) Method called to findNullValueProviderfor a primary property, using "value nulls" setting.Methods in tools.jackson.databind.deser.std with parameters of type NullValueProviderModifier and TypeMethodDescriptionprotected final StringStdDeserializer._parseString(JsonParser p, DeserializationContext ctxt, NullValueProvider nullProvider) Helper method used for deserializing String value, if possible, doing necessary conversion or throwing exception as necessary.Constructors in tools.jackson.databind.deser.std with parameters of type NullValueProviderModifierConstructorDescriptionprotectedContainerDeserializerBase(ContainerDeserializerBase<?> base, NullValueProvider nuller, Boolean unwrapSingle) protectedContainerDeserializerBase(JavaType selfType, NullValueProvider nuller, Boolean unwrapSingle) -
Uses of NullValueProvider in tools.jackson.databind.ext
Classes in tools.jackson.databind.ext that implement NullValueProviderModifier and TypeClassDescriptionstatic classCombo-deserializer that supports deserialization of somewhat optional javax.xml typesQName,DurationandXMLGregorianCalendar.classBase for deserializers that allows parsing DOM Documents from JSON Strings.static classstatic class -
Uses of NullValueProvider in tools.jackson.databind.ext.javatime.deser
Classes in tools.jackson.databind.ext.javatime.deser that implement NullValueProviderModifier and TypeClassDescriptionclassDeserializer for Java 8 temporalDurations.classInstantDeserializer<T extends Temporal>classclassclassDeserializer for Java 8 temporalLocalDates.classDeserializer for Java 8 temporalLocalDateTimes.classDeserializer for Java 8 temporalLocalTimes.classDeserializer for Java 8 temporalMonthDays.classDeserializer for Java 8 temporalMonths.classDeserializer for Java 8 temporalOffsetTimes.classDeserializer for Java 8 temporalYears.classDeserializer for Java 8 temporalYearMonths. -
Uses of NullValueProvider in tools.jackson.databind.ext.jdk8
Classes in tools.jackson.databind.ext.jdk8 that implement NullValueProviderModifier and TypeClassDescriptionclassclassclassclassclass -
Uses of NullValueProvider in tools.jackson.databind.ext.sql
Classes in tools.jackson.databind.ext.sql that implement NullValueProvider