public class AtomicReferenceDeserializer extends ReferenceTypeDeserializer<AtomicReference<Object>>
JsonDeserializer.None
_fullType, _valueDeserializer, _valueTypeDeserializer
_valueClass, F_MASK_INT_COERCIONS
Constructor and Description |
---|
AtomicReferenceDeserializer(JavaType fullType)
Deprecated.
|
AtomicReferenceDeserializer(JavaType fullType,
TypeDeserializer typeDeser,
JsonDeserializer<?> deser) |
Modifier and Type | Method and Description |
---|---|
AtomicReference<Object> |
getNullValue(DeserializationContext ctxt)
Method that can be called to determine value to be used for
representing null values (values deserialized when JSON token
is
JsonToken.VALUE_NULL ). |
AtomicReference<Object> |
referenceValue(Object contents) |
AtomicReferenceDeserializer |
withResolved(TypeDeserializer typeDeser,
JsonDeserializer<?> valueDeser) |
createContextual, deserialize, deserializeWithType, getValueType
_coerceIntegral, _deserializeFromEmpty, _failDoubleToIntCoercion, _hasTextualNull, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _parseBoolean, _parseBooleanFromInt, _parseBooleanFromOther, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, _parseString, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, getValueClass, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble
deserialize, findBackReference, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializer
@Deprecated public AtomicReferenceDeserializer(JavaType fullType)
public AtomicReferenceDeserializer(JavaType fullType, TypeDeserializer typeDeser, JsonDeserializer<?> deser)
public AtomicReferenceDeserializer withResolved(TypeDeserializer typeDeser, JsonDeserializer<?> valueDeser)
withResolved
in class ReferenceTypeDeserializer<AtomicReference<Object>>
public AtomicReference<Object> getNullValue(DeserializationContext ctxt)
JsonDeserializer
JsonToken.VALUE_NULL
). Usually this is simply
Java null, but for some types (especially primitives) it may be
necessary to use non-null values.
Since version 2.6 (in which the context argument was added), call is expected to be made each and every time a null token needs to be handled.
Default implementation simply returns null.
getNullValue
in class ReferenceTypeDeserializer<AtomicReference<Object>>
public AtomicReference<Object> referenceValue(Object contents)
referenceValue
in class ReferenceTypeDeserializer<AtomicReference<Object>>
Copyright © 2008–2017 FasterXML. All rights reserved.