public class ResourceDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<Resource>
Custom deserializer for Resource types.
Needed since we need to preserve the @type for OtherContent, which would get lost if we left the type resolving to Jackson.
| Constructor and Description |
|---|
ResourceDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
Resource |
deserialize(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializerpublic Resource deserialize(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<Resource>IOExceptionCopyright © 2018. All rights reserved.