public class ApiCustomDeserializerModifier
extends com.fasterxml.jackson.databind.deser.BeanDeserializerModifier
| Constructor and Description |
|---|
ApiCustomDeserializerModifier() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
defaultDeserialize(com.fasterxml.jackson.core.ObjectCodec parserCodec,
com.fasterxml.jackson.databind.DeserializationContext context,
com.fasterxml.jackson.databind.JsonNode node,
Class<T> userType)
It will recreate
JsonParser based on the JsonNode, as the stream was closed if the JsonNode
was read initially by parserCodec.readTree(jsonParser). |
com.fasterxml.jackson.databind.JsonDeserializer<?> |
modifyDeserializer(com.fasterxml.jackson.databind.DeserializationConfig config,
com.fasterxml.jackson.databind.BeanDescription beanDesc,
com.fasterxml.jackson.databind.JsonDeserializer<?> deserializer) |
modifyArrayDeserializer, modifyCollectionDeserializer, modifyCollectionLikeDeserializer, modifyEnumDeserializer, modifyKeyDeserializer, modifyMapDeserializer, modifyMapLikeDeserializer, modifyReferenceDeserializer, updateBuilder, updatePropertiespublic com.fasterxml.jackson.databind.JsonDeserializer<?> modifyDeserializer(com.fasterxml.jackson.databind.DeserializationConfig config,
com.fasterxml.jackson.databind.BeanDescription beanDesc,
com.fasterxml.jackson.databind.JsonDeserializer<?> deserializer)
modifyDeserializer in class com.fasterxml.jackson.databind.deser.BeanDeserializerModifierpublic static <T> T defaultDeserialize(com.fasterxml.jackson.core.ObjectCodec parserCodec,
com.fasterxml.jackson.databind.DeserializationContext context,
com.fasterxml.jackson.databind.JsonNode node,
Class<T> userType)
throws IOException
JsonParser based on the JsonNode, as the stream was closed if the JsonNode
was read initially by parserCodec.readTree(jsonParser). Otherwise the stream is empty and exception occurs.IOExceptionCopyright © 2023. All rights reserved.