Uses of Interface
com.fasterxml.jackson.databind.deser.NullValueProvider
-
Packages that use NullValueProvider Package Description com.fasterxml.jackson.databind 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.com.fasterxml.jackson.databind.deser Contains implementation classes of deserialization part of data binding.com.fasterxml.jackson.databind.deser.impl Contains those implementation classes of deserialization part of data binding that are not considered part of public or semi-public interfaces.com.fasterxml.jackson.databind.deser.std Contains public standard implementations of abstraction that Jackson uses.com.fasterxml.jackson.databind.ext 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 NullValueProvider Modifier and Type Class Description classJsonDeserializer<T>Abstract class that defines API used byObjectMapper(and other chainedJsonDeserializers too) to deserialize Objects of arbitrary types from JSON, using providedJsonParser.static classJsonDeserializer.NoneThis 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 NullValueProvider Modifier and Type Class Description classAbstractDeserializerDeserializer only used for abstract types used as placeholders during polymorphic type handling deserialization.classBeanDeserializerDeserializer class that can deserialize instances of arbitrary bean objects, usually from JSON Object structs,classBeanDeserializerBaseBase class forBeanDeserializer.classBuilderBasedDeserializerClass 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 NullValueProvider Modifier and Type Field Description protected NullValueProviderSettableBeanProperty. _nullProviderEntity used for possible translation from `null` into non-null value of type of this property.Methods in com.fasterxml.jackson.databind.deser that return NullValueProvider Modifier and Type Method Description NullValueProviderSettableBeanProperty. getNullValueProvider()Methods in com.fasterxml.jackson.databind.deser with parameters of type NullValueProvider Modifier and Type Method Description SettableBeanPropertyCreatorProperty. withNullProvider(NullValueProvider nva)SettableBeanPropertySettableBeanProperty.Delegating. withNullProvider(NullValueProvider nva)abstract SettableBeanPropertySettableBeanProperty. withNullProvider(NullValueProvider nva)Constructors in com.fasterxml.jackson.databind.deser with parameters of type NullValueProvider Constructor Description CreatorProperty(CreatorProperty src, JsonDeserializer<?> deser, NullValueProvider nva)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 NullValueProvider Modifier and Type Class Description classBeanAsArrayBuilderDeserializerclassBeanAsArrayDeserializerVariant ofBeanDeserializerused for handling deserialization of POJOs when serialized as JSON Arrays, instead of JSON Objects.classErrorThrowingDeserializerA 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.classFailingDeserializerSpecial bogus "serializer" that will throwJsonMappingExceptionif an attempt is made to deserialize a value.classNullsAsEmptyProviderSimpleNullValueProviderthat will always throw aInvalidNullExceptionwhen a null is encountered.classNullsConstantProviderSimpleNullValueProviderthat will always throw aInvalidNullExceptionwhen a null is encountered.classNullsFailProviderSimpleNullValueProviderthat will always throw aInvalidNullExceptionwhen a null is encountered.classTypeWrappedDeserializerSimple deserializer that will call configured type deserializer, passing in configured data deserializer, and exposing it all as a simple deserializer.Methods in com.fasterxml.jackson.databind.deser.impl with parameters of type NullValueProvider Modifier and Type Method Description static 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 convertedSettableBeanPropertyFieldProperty. withNullProvider(NullValueProvider nva)SettableBeanPropertyMethodProperty. withNullProvider(NullValueProvider nva)SettableBeanPropertyObjectIdReferenceProperty. withNullProvider(NullValueProvider nva)SettableBeanPropertyObjectIdValueProperty. withNullProvider(NullValueProvider nva)SettableBeanPropertySetterlessProperty. withNullProvider(NullValueProvider nva)Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type NullValueProvider Constructor Description FieldProperty(FieldProperty src, JsonDeserializer<?> deser, NullValueProvider nva)MethodProperty(MethodProperty src, JsonDeserializer<?> deser, NullValueProvider nva)ObjectIdReferenceProperty(ObjectIdReferenceProperty src, JsonDeserializer<?> deser, NullValueProvider nva)ObjectIdValueProperty(ObjectIdValueProperty src, JsonDeserializer<?> deser, NullValueProvider nva)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 NullValueProvider Modifier and Type Class Description classArrayBlockingQueueDeserializerWe need a custom deserializer both becauseArrayBlockingQueuehas no default constructor AND because it has size limit used for constructing underlying storage automatically.classAtomicBooleanDeserializerclassAtomicReferenceDeserializerclassByteBufferDeserializerclassCollectionDeserializerBasic serializer that can take JSON "Array" structure and construct aCollectioninstance, with typed contents.classContainerDeserializerBase<T>Intermediate base deserializer class that adds more shared accessor so that other classes can access information about contained (value) typesstatic classDateDeserializers.CalendarDeserializerprotected static classDateDeserializers.DateBasedDeserializer<T>static classDateDeserializers.DateDeserializerSimple deserializer for handlingDatevalues.static classDateDeserializers.SqlDateDeserializerCompared to plain oldDate, SQL version is easier to deal with: mostly because it is more limited.static classDateDeserializers.TimestampDeserializerSimple deserializer for handlingTimestampvalues.classDelegatingDeserializerBase class that simplifies implementations ofJsonDeserializers that mostly delegate functionality to another deserializer implementation (possibly forming a chaing of deserializers delegating functionality in some cases)classEnumDeserializerDeserializer class that can deserialize instances of specified Enum class from Strings and Integers.classEnumMapDeserializerDeserializer forEnumMapvalues.classEnumSetDeserializerStandard deserializer forEnumSets.classFromStringDeserializer<T>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 classFromStringDeserializer.Std"Chameleon" deserializer that works on simple types that are deserialized from a simple String.classJsonNodeDeserializerclassMapDeserializerBasic serializer that can take JSON "Object" structure and construct aMapinstance, with typed contents.classMapEntryDeserializerBasic serializer that can take JSON "Object" structure and construct aMapinstance, with typed contents.classNullifyingDeserializerBogus deserializer that will simply skip all content there is to map and returns Java null reference.static classNumberDeserializers.BigDecimalDeserializerstatic classNumberDeserializers.BigIntegerDeserializerThis is bit trickier to implement efficiently, while avoiding overflow problems.static classNumberDeserializers.BooleanDeserializerstatic classNumberDeserializers.ByteDeserializerstatic classNumberDeserializers.CharacterDeserializerstatic classNumberDeserializers.DoubleDeserializerstatic classNumberDeserializers.FloatDeserializerstatic classNumberDeserializers.IntegerDeserializerstatic classNumberDeserializers.LongDeserializerstatic classNumberDeserializers.NumberDeserializerFor typeNumber.class, we can just rely on type mappings that plainJsonParser.getNumberValue()returns.protected static classNumberDeserializers.PrimitiveOrWrapperDeserializer<T>static classNumberDeserializers.ShortDeserializerclassObjectArrayDeserializerBasic serializer that can serialize non-primitive arrays.classPrimitiveArrayDeserializers<T>Container for deserializers used for instantiating "primitive arrays", arrays that contain non-object java primitive types.classReferenceTypeDeserializer<T>Base deserializer implementation for propertiesReferenceTypevalues.classStackTraceElementDeserializerclassStdDelegatingDeserializer<T>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 configuredConverterinto desired target type.classStdDeserializer<T>Base class for common deserializers.classStdNodeBasedDeserializer<T>Convenience deserializer that may be used to deserialize values given an intermediate tree representation (JsonNode).classStdScalarDeserializer<T>Base class for deserializers that handle types that are serialized as JSON scalars (non-structured, i.e.classStringArrayDeserializerSeparate implementation for serializing String arrays (instead of usingObjectArrayDeserializer.classStringCollectionDeserializerSpecifically 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.classStringDeserializerclassThrowableDeserializerDeserializer that builds on basicBeanDeserializerbut override some aspects like instance construction.classTokenBufferDeserializerWe also want to directly support deserialization ofTokenBuffer.classUntypedObjectDeserializerDeserializer 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 classUntypedObjectDeserializer.VanillaclassUUIDDeserializerFields in com.fasterxml.jackson.databind.deser.std declared as NullValueProvider Modifier and Type Field Description protected NullValueProviderPrimitiveArrayDeserializers. _nullerFlag that indicates need for special handling; either failing (throw exception) or skippingprotected NullValueProviderContainerDeserializerBase. _nullProviderHandler we need for dealing with nulls.protected NullValueProviderEnumSetDeserializer. _nullProviderHandler we need for dealing with nulls.protected NullValueProviderStringArrayDeserializer. _nullProviderHandler we need for dealing with nulls.Methods in com.fasterxml.jackson.databind.deser.std that return NullValueProvider Modifier and Type Method Description protected NullValueProviderStdDeserializer. _findNullProvider(DeserializationContext ctxt, BeanProperty prop, com.fasterxml.jackson.annotation.Nulls nulls, JsonDeserializer<?> valueDeser)protected NullValueProviderStdDeserializer. findContentNullProvider(DeserializationContext ctxt, BeanProperty prop, JsonDeserializer<?> valueDeser)Method called to findNullValueProviderfor a contents of a structured primary property (Collection, Map, array), using "content nulls" setting.protected NullValueProviderStdDeserializer. findValueNullProvider(DeserializationContext ctxt, SettableBeanProperty prop, PropertyMetadata propMetadata)Method called to findNullValueProviderfor a primary property, using "value nulls" setting.Methods in com.fasterxml.jackson.databind.deser.std with parameters of type NullValueProvider Modifier and Type Method Description protected ArrayBlockingQueueDeserializerArrayBlockingQueueDeserializer. withResolved(JsonDeserializer<?> dd, JsonDeserializer<?> vd, TypeDeserializer vtd, NullValueProvider nuller, Boolean unwrapSingle)Fluent-factory method call to construct contextual instance.protected CollectionDeserializerCollectionDeserializer. withResolved(JsonDeserializer<?> dd, JsonDeserializer<?> vd, TypeDeserializer vtd, NullValueProvider nuller, Boolean unwrapSingle)Fluent-factory method call to construct contextual instance.EnumMapDeserializerEnumMapDeserializer. withResolved(KeyDeserializer keyDeserializer, JsonDeserializer<?> valueDeserializer, TypeDeserializer valueTypeDeser, NullValueProvider nuller)EnumSetDeserializerEnumSetDeserializer. withResolved(JsonDeserializer<?> deser, NullValueProvider nuller, Boolean unwrapSingle)protected MapDeserializerMapDeserializer. withResolved(KeyDeserializer keyDeser, TypeDeserializer valueTypeDeser, JsonDeserializer<?> valueDeser, NullValueProvider nuller, Set<String> ignorable)Fluent factory method used to create a copy with slightly different settings.ObjectArrayDeserializerObjectArrayDeserializer. withResolved(TypeDeserializer elemTypeDeser, JsonDeserializer<?> elemDeser, NullValueProvider nuller, Boolean unwrapSingle)protected abstract PrimitiveArrayDeserializers<?>PrimitiveArrayDeserializers. withResolved(NullValueProvider nuller, Boolean unwrapSingle)protected StringCollectionDeserializerStringCollectionDeserializer. withResolved(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 NullValueProvider Modifier and Type Class Description static classCoreXMLDeserializers.StdCombo-deserializer that supports deserialization of somewhat optional javax.xml typesQName,DurationandXMLGregorianCalendar.classDOMDeserializer<T>Base for serializers that allows parsing DOM Documents from JSON Strings.static classDOMDeserializer.DocumentDeserializerstatic classDOMDeserializer.NodeDeserializerclassNioPathDeserializer
-