Top Description Inners Fields Constructors Methods
tools.jackson.databind.deser.jdk

public abstract Class PrimitiveArrayDeserializers<T>

extends StdDeserializer<T>
Class Inheritance
Known Direct Subclasses
tools.jackson.databind.deser.jdk.PrimitiveArrayDeserializers.CharDeser, tools.jackson.databind.deser.jdk.PrimitiveArrayDeserializers.BooleanDeser, tools.jackson.databind.deser.jdk.PrimitiveArrayDeserializers.ByteDeser, tools.jackson.databind.deser.jdk.PrimitiveArrayDeserializers.ShortDeser, tools.jackson.databind.deser.jdk.PrimitiveArrayDeserializers.IntDeser, tools.jackson.databind.deser.jdk.PrimitiveArrayDeserializers.LongDeser, tools.jackson.databind.deser.jdk.PrimitiveArrayDeserializers.FloatDeser, tools.jackson.databind.deser.jdk.PrimitiveArrayDeserializers.DoubleDeser
Imports
java.lang.reflect.Array, java.util.Arrays, .Objects, com.fasterxml.jackson.annotation.JsonFormat, .Nulls, tools.jackson.core.*, tools.jackson.core.exc.StreamReadException, tools.jackson.databind.*, tools.jackson.databind.annotation.JacksonStdImpl, tools.jackson.databind.deser.NullValueProvider, tools.jackson.databind.deser.impl.NullsConstantProvider, .NullsFailProvider, tools.jackson.databind.deser.std.StdDeserializer, tools.jackson.databind.exc.InvalidNullException, tools.jackson.databind.jsontype.TypeDeserializer, tools.jackson.databind.type.LogicalType, tools.jackson.databind.util.AccessPattern, .ArrayBuilders

Container for deserializers used for instantiating "primitive arrays", arrays that contain non-object java primitive types.

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
pack-priv static class
PrimitiveArrayDeserializers.ByteDeser

When dealing with byte arrays we have one more alternative (compared to int/long/shorts): base64 encoded data.

pack-priv static class
pack-priv static class
pack-priv static class
pack-priv static class
pack-priv static class
pack-priv static class

Field Summary

Modifier and TypeField and Description
private transient Object
protected final NullValueProvider
_nuller

Flag that indicates need for special handling; either failing (throw exception) or skipping

protected final Boolean
_unwrapSingle

Specific override for this instance (from proper, or global per-type overrides) to indicate whether single value may be taken to mean an unwrapped one-element array or not.

Inherited from tools.jackson.databind.deser.std.StdDeserializer:
_valueClass_valueTypeF_MASK_INT_COERCIONS

Constructor Summary

AccessConstructor and Description
protected
protected

Method Summary

Modifier and TypeMethod and Description
protected abstract T
_concat(T oldValue, T newValue)

protected abstract T
protected void
public ValueDeserializer<?>
createContextual(DeserializationContext ctxt, BeanProperty property)

Overrides tools.jackson.databind.ValueDeserializer.createContextual.

Method called to see if a different (or differently configured) deserializer is needed to deserialize values of specified property.

public T
deserialize(JsonParser p, DeserializationContext ctxt, T existing)

Overrides tools.jackson.databind.ValueDeserializer.deserialize.

Alternate deserialization method (compared to the most commonly used, deserialize(JsonParser, DeserializationContext)), which takes in initialized value instance, to be configured and/or populated by deserializer.

public Object
deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)

Overrides tools.jackson.databind.deser.std.StdDeserializer.deserializeWithType.

Base implementation that does not assume specific type inclusion mechanism.

public static ValueDeserializer<?>
forType(Class<?> rawType)

public AccessPattern
getEmptyAccessPattern()

Overrides tools.jackson.databind.ValueDeserializer.getEmptyAccessPattern.

This method may be called in conjunction with calls to getEmptyValue(DeserializationContext), to check whether it needs to be called just once (static values), or each time empty value is needed.

public Object
getEmptyValue(DeserializationContext ctxt)

Overrides tools.jackson.databind.ValueDeserializer.getEmptyValue.

Method called to determine value to be used for "empty" values (most commonly when deserializing from empty JSON Strings).

protected T
protected abstract T
public LogicalType
logicalType()

Overrides tools.jackson.databind.ValueDeserializer.logicalType.

Method for accessing logical type of values this deserializer produces.

public Boolean
supportsUpdate(DeserializationConfig config)

Overrides tools.jackson.databind.ValueDeserializer.supportsUpdate.

Introspection method that may be called to see whether deserializer supports update of an existing value (aka "merging") or not.

protected abstract PrimitiveArrayDeserializers<?>
withResolved(NullValueProvider nuller, Boolean unwrapSingle)

Inherited from tools.jackson.databind.deser.std.StdDeserializer:
_byteOverflow_checkBooleanToStringCoercion_checkCoercionFail_checkDoubleSpecialValue_checkFloatSpecialValue_checkFloatToIntCoercion_checkFloatToStringCoercion_checkFromStringCoercion_checkFromStringCoercion_checkIntToFloatCoercion_checkIntToStringCoercion_checkTextualNull_checkToStringCoercion_coerceBooleanFromInt_coercedTypeDesc_coercedTypeDesc_coerceIntegral_deserializeFromArray_deserializeFromEmptyString_deserializeFromString_deserializeWrappedValue_findCoercionFromBlankString_findCoercionFromEmptyArray_findCoercionFromEmptyString_findNullProvider_hasTextualNull_intOverflow_isBlank_isFalse_isIntNumber_isNaN_isNegInf_isPosInf_isTrue_neitherNull_nonNullNumber_parseBoolean_parseBooleanPrimitive_parseBytePrimitive_parseDate_parseDate_parseDateFromArray_parseDouble_parseDoublePrimitive_parseDoublePrimitive_parseFloatPrimitive_parseFloatPrimitive_parseInteger_parseInteger_parseIntPrimitive_parseIntPrimitive_parseLong_parseLong_parseLongPrimitive_parseLongPrimitive_parseShortPrimitive_parseString_reportFailedNullCoerce_shortOverflow_verifyEndArrayForSingle_verifyNullForPrimitive_verifyNullForPrimitiveCoercion_wrapIOFailurefindContentNullProviderfindContentNullStylefindConvertingContentDeserializerfindDeserializerfindFormatFeaturefindFormatOverridesfindValueNullProvidergetValueInstantiatorgetValueTypegetValueTypehandledTypehandleMissingEndArrayForSinglehandleNestedArrayForSinglehandleUnknownPropertyisDefaultDeserializerisDefaultKeyDeserializer