public abstract class StructJsonDeserializer<T> extends CompositeJsonDeserializer<T>
Modifier | Constructor and Description |
---|---|
protected |
StructJsonDeserializer(Class<T> clazz,
boolean unwrapping,
Class<?>... subtypeClasses) |
protected |
StructJsonDeserializer(Class<T> clazz,
Class<?>... subtypeClasses) |
Modifier and Type | Method and Description |
---|---|
protected com.fasterxml.jackson.databind.JsonDeserializer<T> |
asUnwrapping()
Override this method to support generating unwrapped JSON
(e.g.
|
T |
deserialize(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctx) |
protected abstract T |
deserializeFields(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctx) |
com.fasterxml.jackson.databind.JsonDeserializer<T> |
unwrappingDeserializer(com.fasterxml.jackson.databind.util.NameTransformer unwrapper) |
assertUnsigned, expectArrayEnd, expectArrayStart, expectField, expectObjectEnd, expectObjectStart, getStringValue, hasTag, isArrayEnd, isArrayStart, isObjectEnd, isObjectStart, readCollapsedStructValue, readEnumeratedSubtypeTag, readTag, resolve, skipValue
_coerceIntegral, _deserializeFromEmpty, _failDoubleToIntCoercion, _hasTextualNull, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _parseBoolean, _parseBooleanFromOther, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, _parseString, deserializeWithType, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, getValueClass, getValueType, handledType, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble
public com.fasterxml.jackson.databind.JsonDeserializer<T> unwrappingDeserializer(com.fasterxml.jackson.databind.util.NameTransformer unwrapper)
unwrappingDeserializer
in class com.fasterxml.jackson.databind.JsonDeserializer<T>
protected com.fasterxml.jackson.databind.JsonDeserializer<T> asUnwrapping()
public final T deserialize(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctx) throws IOException, com.fasterxml.jackson.core.JsonParseException
deserialize
in class com.fasterxml.jackson.databind.JsonDeserializer<T>
IOException
com.fasterxml.jackson.core.JsonParseException
protected abstract T deserializeFields(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctx) throws IOException, com.fasterxml.jackson.core.JsonParseException
IOException
com.fasterxml.jackson.core.JsonParseException
Copyright © 2016. All rights reserved.