JsonNodeDeserializer
instead.@Deprecated public class JsonNodeDeserializer extends JsonNodeDeserializer
StdDeserializer.BigDecimalDeserializer, StdDeserializer.BigIntegerDeserializer, StdDeserializer.BooleanDeserializer, StdDeserializer.ByteDeserializer, StdDeserializer.CharacterDeserializer, StdDeserializer.DoubleDeserializer, StdDeserializer.FloatDeserializer, StdDeserializer.IntegerDeserializer, StdDeserializer.LongDeserializer, StdDeserializer.NumberDeserializer, StdDeserializer.PrimitiveOrWrapperDeserializer<T>, StdDeserializer.ShortDeserializer, StdDeserializer.SqlDateDeserializer, StdDeserializer.StackTraceElementDeserializer
JsonDeserializer.None
限定符和类型 | 字段和说明 |
---|---|
static JsonNodeDeserializer |
instance
已过时。
Use
JsonNodeDeserializer.getDeserializer(java.lang.Class<?>) accessor instead: will be removed from 2.0 |
_valueClass
构造器和说明 |
---|
JsonNodeDeserializer()
已过时。
|
deserialize, getDeserializer
_parseBoolean, _parseBooleanFromNumber, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, findDeserializer, getValueClass, getValueType, handleUnknownProperty, isDefaultSerializer, parseDouble, reportUnknownProperty
deserialize, getEmptyValue, getNullValue, unwrappingDeserializer
@Deprecated public static final JsonNodeDeserializer instance
JsonNodeDeserializer.getDeserializer(java.lang.Class<?>)
accessor instead: will be removed from 2.0JsonNode
.@Deprecated protected final ObjectNode deserializeObject(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException
@Deprecated protected final ArrayNode deserializeArray(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException
@Deprecated protected final JsonNode deserializeAny(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException
public Object deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) throws IOException, JsonProcessingException
StdDeserializer
deserializeWithType
在类中 StdDeserializer<N extends JsonNode>
typeDeserializer
- Deserializer to use for handling type informationIOException
JsonProcessingException
protected void _reportProblem(JsonParser jp, String msg) throws JsonMappingException
protected void _handleDuplicateField(String fieldName, ObjectNode objectNode, JsonNode oldValue, JsonNode newValue) throws 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 nodeJsonProcessingException
protected final ObjectNode deserializeObject(JsonParser jp, DeserializationContext ctxt, JsonNodeFactory nodeFactory) throws IOException, JsonProcessingException
protected final ArrayNode deserializeArray(JsonParser jp, DeserializationContext ctxt, JsonNodeFactory nodeFactory) throws IOException, JsonProcessingException
protected final JsonNode deserializeAny(JsonParser jp, DeserializationContext ctxt, JsonNodeFactory nodeFactory) throws IOException, JsonProcessingException