public class GPlusActivityDeserializer
extends com.fasterxml.jackson.databind.JsonDeserializer<com.google.api.services.plus.model.Activity>
Constructor and Description |
---|
GPlusActivityDeserializer() |
Modifier and Type | Method and Description |
---|---|
com.google.api.services.plus.model.Activity |
deserialize(com.fasterxml.jackson.core.JsonParser jsonParser,
com.fasterxml.jackson.databind.DeserializationContext deserializationContext)
Because the GooglePlus Activity object
Activity 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.Activity deserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext) throws IOException
Activity
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.Activity>
jsonParser
- jsonParserdeserializationContext
- deserializationContextActivity
objectIOException
- IOExceptioncom.fasterxml.jackson.core.JsonProcessingException
- JsonProcessingExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.