Class JsonNullableJackson3Deserializer

java.lang.Object
tools.jackson.databind.ValueDeserializer<T>
tools.jackson.databind.deser.std.StdDeserializer<T>
tools.jackson.databind.deser.std.ReferenceTypeDeserializer<JsonNullable<Object>>
org.openapitools.jackson.nullable.JsonNullableJackson3Deserializer
All Implemented Interfaces:
tools.jackson.databind.deser.NullValueProvider, tools.jackson.databind.deser.ValueInstantiator.Gettable

public class JsonNullableJackson3Deserializer extends tools.jackson.databind.deser.std.ReferenceTypeDeserializer<JsonNullable<Object>>
  • Nested Class Summary

    Nested classes/interfaces inherited from class tools.jackson.databind.ValueDeserializer

    tools.jackson.databind.ValueDeserializer.None
  • Field Summary

    Fields inherited from class tools.jackson.databind.deser.std.ReferenceTypeDeserializer

    _fullType, _valueDeserializer, _valueInstantiator, _valueTypeDeserializer

    Fields inherited from class tools.jackson.databind.deser.std.StdDeserializer

    _valueClass, _valueType, F_MASK_INT_COERCIONS
  • Constructor Summary

    Constructors
    Constructor
    Description
    JsonNullableJackson3Deserializer(tools.jackson.databind.JavaType fullType, tools.jackson.databind.deser.ValueInstantiator inst, tools.jackson.databind.jsontype.TypeDeserializer typeDeser, tools.jackson.databind.ValueDeserializer<?> deser)
     
    JsonNullableJackson3Deserializer(tools.jackson.databind.JavaType fullType, tools.jackson.databind.deser.ValueInstantiator inst, tools.jackson.databind.jsontype.TypeDeserializer typeDeser, tools.jackson.databind.ValueDeserializer<?> deser, boolean mapBlankStringToNull)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt)
     
    getAbsentValue(tools.jackson.databind.DeserializationContext ctxt)
     
    getEmptyValue(tools.jackson.databind.DeserializationContext ctxt)
     
    getNullValue(tools.jackson.databind.DeserializationContext ctxt)
     
     
     
    supportsUpdate(tools.jackson.databind.DeserializationConfig config)
     
    updateReference(JsonNullable<Object> reference, Object contents)
     
    protected tools.jackson.databind.deser.std.ReferenceTypeDeserializer<JsonNullable<Object>>
    withResolved(tools.jackson.databind.jsontype.TypeDeserializer typeDeser, tools.jackson.databind.ValueDeserializer<?> valueDeser)
     

    Methods inherited from class tools.jackson.databind.deser.std.ReferenceTypeDeserializer

    collectAllPropertyNamesTo, createContextual, deserialize, deserializeWithType, getEmptyAccessPattern, getNullAccessPattern, getValueInstantiator, getValueType, hasAnySetter, logicalType, unwrappingDeserializer

    Methods inherited from class 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, _deserializeFromStringForContainer, _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, _streamReadConstraints, _validateTimestampLength, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _wrapIOFailure, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatFeature, findFormatOverrides, findFormatOverrides, findValueNullProvider, getValueType, handledType, handleMissingEndArrayForSingle, handleNestedArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer

    Methods inherited from class tools.jackson.databind.ValueDeserializer

    deserializeWithType, findBackReference, getDelegatee, getKnownPropertyNames, getObjectIdReader, isCachable, replaceDelegatee, resolve

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JsonNullableJackson3Deserializer

      public JsonNullableJackson3Deserializer(tools.jackson.databind.JavaType fullType, tools.jackson.databind.deser.ValueInstantiator inst, tools.jackson.databind.jsontype.TypeDeserializer typeDeser, tools.jackson.databind.ValueDeserializer<?> deser)
    • JsonNullableJackson3Deserializer

      public JsonNullableJackson3Deserializer(tools.jackson.databind.JavaType fullType, tools.jackson.databind.deser.ValueInstantiator inst, tools.jackson.databind.jsontype.TypeDeserializer typeDeser, tools.jackson.databind.ValueDeserializer<?> deser, boolean mapBlankStringToNull)
  • Method Details

    • deserialize

      public JsonNullable<Object> deserialize(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt) throws tools.jackson.core.JacksonException
      Overrides:
      deserialize in class tools.jackson.databind.deser.std.ReferenceTypeDeserializer<JsonNullable<Object>>
      Throws:
      tools.jackson.core.JacksonException
    • withResolved

      protected tools.jackson.databind.deser.std.ReferenceTypeDeserializer<JsonNullable<Object>> withResolved(tools.jackson.databind.jsontype.TypeDeserializer typeDeser, tools.jackson.databind.ValueDeserializer<?> valueDeser)
      Specified by:
      withResolved in class tools.jackson.databind.deser.std.ReferenceTypeDeserializer<JsonNullable<Object>>
    • getAbsentValue

      public Object getAbsentValue(tools.jackson.databind.DeserializationContext ctxt)
      Specified by:
      getAbsentValue in interface tools.jackson.databind.deser.NullValueProvider
      Overrides:
      getAbsentValue in class tools.jackson.databind.deser.std.ReferenceTypeDeserializer<JsonNullable<Object>>
    • getNullValue

      public JsonNullable<Object> getNullValue(tools.jackson.databind.DeserializationContext ctxt)
      Specified by:
      getNullValue in interface tools.jackson.databind.deser.NullValueProvider
      Specified by:
      getNullValue in class tools.jackson.databind.deser.std.ReferenceTypeDeserializer<JsonNullable<Object>>
    • getEmptyValue

      public Object getEmptyValue(tools.jackson.databind.DeserializationContext ctxt)
      Overrides:
      getEmptyValue in class tools.jackson.databind.deser.std.ReferenceTypeDeserializer<JsonNullable<Object>>
    • referenceValue

      public JsonNullable<Object> referenceValue(Object contents)
      Specified by:
      referenceValue in class tools.jackson.databind.deser.std.ReferenceTypeDeserializer<JsonNullable<Object>>
    • getReferenced

      public Object getReferenced(JsonNullable<Object> reference)
      Specified by:
      getReferenced in class tools.jackson.databind.deser.std.ReferenceTypeDeserializer<JsonNullable<Object>>
    • updateReference

      public JsonNullable<Object> updateReference(JsonNullable<Object> reference, Object contents)
      Specified by:
      updateReference in class tools.jackson.databind.deser.std.ReferenceTypeDeserializer<JsonNullable<Object>>
    • supportsUpdate

      public Boolean supportsUpdate(tools.jackson.databind.DeserializationConfig config)
      Overrides:
      supportsUpdate in class tools.jackson.databind.deser.std.ReferenceTypeDeserializer<JsonNullable<Object>>