protected abstract static class NumberDeserializers.PrimitiveOrWrapperDeserializer<T> extends StdScalarDeserializer<T>
JsonDeserializer.None| Modifier and Type | Field and Description |
|---|---|
protected T |
_nullValue |
_valueClass| Modifier | Constructor and Description |
|---|---|
protected |
PrimitiveOrWrapperDeserializer(Class<T> vc,
T nvl) |
| Modifier and Type | Method and Description |
|---|---|
T |
getNullValue()
Method that can be called to determine value to be used for
representing null values (values deserialized when JSON token
is
JsonToken.VALUE_NULL). |
deserializeWithType_deserializeFromEmpty, _hasTextualNull, _isNaN, _isNegInf, _isPosInf, _parseBoolean, _parseBooleanFromNumber, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, _parseString, findConvertingContentDeserializer, findDeserializer, getValueClass, getValueType, handledType, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDoubledeserialize, deserialize, findBackReference, getDelegatee, getEmptyValue, getKnownPropertyNames, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializerprotected final T _nullValue
public final T getNullValue()
JsonDeserializerJsonToken.VALUE_NULL). Usually this is simply
Java null, but for some types (especially primitives) it may be
necessary to use non-null values.
Note that deserializers are allowed to call this just once and then reuse returned value; that is, method is not guaranteed to be called once for each conversion.
Default implementation simply returns null.
getNullValue in class JsonDeserializer<T>Copyright © 2016 JBoss by Red Hat. All rights reserved.