public class GPlusCommentDeserializer
extends com.fasterxml.jackson.databind.JsonDeserializer<com.google.api.services.plus.model.Comment>
Constructor and Description |
---|
GPlusCommentDeserializer() |
Modifier and Type | Method and Description |
---|---|
com.google.api.services.plus.model.Comment |
deserialize(com.fasterxml.jackson.core.JsonParser jsonParser,
com.fasterxml.jackson.databind.DeserializationContext deserializationContext)
Because the GooglePlus Comment object
Comment contains complex objects
within its hierarchy, we have to use a custom deserializer |
deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, unwrappingDeserializer
public com.google.api.services.plus.model.Comment deserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext) throws IOException
Comment
contains complex objects
within its hierarchy, we have to use a custom deserializerdeserialize
in class com.fasterxml.jackson.databind.JsonDeserializer<com.google.api.services.plus.model.Comment>
jsonParser
- jsonParserdeserializationContext
- deserializationContextComment
objectIOException
- IOExceptioncom.fasterxml.jackson.core.JsonProcessingException
- JsonProcessingExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.