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 abstract String |
getTypeFieldName() |
protected Object |
parseList(Field field,
com.fasterxml.jackson.databind.JsonNode node) |
protected Object |
parseListString(com.fasterxml.jackson.databind.JsonNode node) |
deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, 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 void deserialize(com.fasterxml.jackson.databind.JsonNode node,
Class<?> clazz,
T bean)
throws IllegalArgumentException,
IllegalAccessException
protected Object parseListString(com.fasterxml.jackson.databind.JsonNode node)
protected abstract String getTypeFieldName()
Copyright © 2014–2016. All rights reserved.