public class ServiceDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<Service>
Custom deserializer for services.
Necessary since the type dispatching is not uniform for services, sometimes we can decide by looking at @context, but other times we need to look at the profile or both.
| Constructor and Description |
|---|
ServiceDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
Service |
deserialize(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
boolean |
isImageService(com.fasterxml.jackson.databind.node.ObjectNode node) |
deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializerpublic Service deserialize(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<Service>IOExceptionpublic boolean isImageService(com.fasterxml.jackson.databind.node.ObjectNode node)
Copyright © 2018. All rights reserved.