public abstract class BaseNodeDeserializer<T extends com.fasterxml.jackson.databind.JsonNode>
extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<T>
JsonNode deserializer
implementations| 限定符和类型 | 字段和说明 |
|---|---|
protected Boolean |
_supportsUpdates |
| 构造器和说明 |
|---|
BaseNodeDeserializer(Class<T> vc,
Boolean supportsUpdates) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected com.fasterxml.jackson.databind.JsonNode |
_fromEmbedded(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.JsonNodeFactory nodeFactory) |
protected com.fasterxml.jackson.databind.JsonNode |
_fromFloat(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.JsonNodeFactory nodeFactory) |
protected com.fasterxml.jackson.databind.JsonNode |
_fromInt(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.JsonNodeFactory nodeFactory) |
protected void |
_handleDuplicateField(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.JsonNodeFactory nodeFactory,
String fieldName,
com.fasterxml.jackson.databind.node.ObjectNode objectNode,
com.fasterxml.jackson.databind.JsonNode oldValue,
com.fasterxml.jackson.databind.JsonNode newValue)
Method called when there is a duplicate value for a field.
|
protected com.fasterxml.jackson.databind.JsonNode |
deserializeAny(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.JsonNodeFactory nodeFactory) |
protected com.fasterxml.jackson.databind.node.ArrayNode |
deserializeArray(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.JsonNodeFactory nodeFactory) |
protected com.fasterxml.jackson.databind.node.ObjectNode |
deserializeObject(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.JsonNodeFactory nodeFactory)
Method called to deserialize Object node instance when there is no existing
node to modify.
|
protected com.fasterxml.jackson.databind.node.ObjectNode |
deserializeObjectAtName(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.JsonNodeFactory nodeFactory)
Alternate deserialization method used when parser already points to first
FIELD_NAME and not START_OBJECT.
|
Object |
deserializeWithType(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer) |
boolean |
isCachable() |
Boolean |
supportsUpdate(com.fasterxml.jackson.databind.DeserializationConfig config) |
protected com.fasterxml.jackson.databind.JsonNode |
updateArray(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.ArrayNode node)
Alternate deserialization method that is to update existing
ObjectNode
if possible. |
protected com.fasterxml.jackson.databind.JsonNode |
updateObject(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.ObjectNode node)
Alternate deserialization method that is to update existing
ObjectNode
if possible. |
_byteOverflow, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeWrappedValue, _failDoubleToIntCoercion, _findNullProvider, _hasTextualNull, _intOverflow, _isEmptyOrTextualNull, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _neitherNull, _nonNullNumber, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseIntPrimitive, _parseIntPrimitive, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDoubledeserialize, deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, replaceDelegatee, unwrappingDeserializerprotected final Boolean _supportsUpdates
public Object deserializeWithType(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer) throws IOException
deserializeWithType 在类中 com.fasterxml.jackson.databind.deser.std.StdDeserializer<T extends com.fasterxml.jackson.databind.JsonNode>IOExceptionpublic boolean isCachable()
isCachable 在类中 com.fasterxml.jackson.databind.JsonDeserializer<T extends com.fasterxml.jackson.databind.JsonNode>public Boolean supportsUpdate(com.fasterxml.jackson.databind.DeserializationConfig config)
supportsUpdate 在类中 com.fasterxml.jackson.databind.JsonDeserializer<T extends com.fasterxml.jackson.databind.JsonNode>protected void _handleDuplicateField(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.JsonNodeFactory nodeFactory,
String fieldName,
com.fasterxml.jackson.databind.node.ObjectNode objectNode,
com.fasterxml.jackson.databind.JsonNode oldValue,
com.fasterxml.jackson.databind.JsonNode newValue)
throws com.fasterxml.jackson.core.JsonProcessingException
fieldName - Name of the field for which duplicate value was foundobjectNode - Object node that contains valuesoldValue - Value that existed for the object node before newValue
was addednewValue - Newly added value just added to the object nodecom.fasterxml.jackson.core.JsonProcessingExceptionprotected final com.fasterxml.jackson.databind.node.ObjectNode deserializeObject(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.JsonNodeFactory nodeFactory)
throws IOException
IOExceptionprotected final com.fasterxml.jackson.databind.node.ObjectNode deserializeObjectAtName(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.JsonNodeFactory nodeFactory)
throws IOException
IOExceptionprotected final com.fasterxml.jackson.databind.JsonNode updateObject(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.ObjectNode node)
throws IOException
ObjectNode
if possible.IOExceptionprotected final com.fasterxml.jackson.databind.node.ArrayNode deserializeArray(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.JsonNodeFactory nodeFactory)
throws IOException
IOExceptionprotected final com.fasterxml.jackson.databind.JsonNode updateArray(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.ArrayNode node)
throws IOException
ObjectNode
if possible.IOExceptionprotected final com.fasterxml.jackson.databind.JsonNode deserializeAny(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.JsonNodeFactory nodeFactory)
throws IOException
IOExceptionprotected final com.fasterxml.jackson.databind.JsonNode _fromInt(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.JsonNodeFactory nodeFactory)
throws IOException
IOExceptionprotected final com.fasterxml.jackson.databind.JsonNode _fromFloat(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.JsonNodeFactory nodeFactory)
throws IOException
IOExceptionprotected final com.fasterxml.jackson.databind.JsonNode _fromEmbedded(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.node.JsonNodeFactory nodeFactory)
throws IOException
IOExceptionCopyright © 2025. All rights reserved.