public abstract class SubclassJsonDeserializer<T>
extends com.fasterxml.jackson.databind.JsonDeserializer<T>
| Constructor and Description |
|---|
SubclassJsonDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deserialize(com.fasterxml.jackson.databind.JsonNode node,
Class<?> clazz,
T bean) |
T |
deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
protected abstract Class<T> |
findClass(String type) |
protected String |
getNumberText(com.fasterxml.jackson.databind.JsonNode node2)
兼容加了双引号的数字
|
protected abstract String |
getTypeFieldName() |
protected Object |
parseList(Field field,
com.fasterxml.jackson.databind.JsonNode node) |
protected Object |
parseListBean(com.fasterxml.jackson.databind.JsonNode node,
Class<?> clazz) |
protected Object |
parseListString(com.fasterxml.jackson.databind.JsonNode node) |
deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializerpublic T deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<T>IOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionprotected String getNumberText(com.fasterxml.jackson.databind.JsonNode node2)
node2 - protected void deserialize(com.fasterxml.jackson.databind.JsonNode node,
Class<?> clazz,
T bean)
throws IllegalArgumentException,
IllegalAccessException
protected Object parseListBean(com.fasterxml.jackson.databind.JsonNode node, Class<?> clazz)
protected Object parseListString(com.fasterxml.jackson.databind.JsonNode node)
protected abstract String getTypeFieldName()
Copyright © 2014–2018. All rights reserved.