public class GPlusPersonDeserializer
extends com.fasterxml.jackson.databind.JsonDeserializer<com.google.api.services.plus.model.Person>
Constructor and Description |
---|
GPlusPersonDeserializer() |
Modifier and Type | Method and Description |
---|---|
com.google.api.services.plus.model.Person |
deserialize(com.fasterxml.jackson.core.JsonParser jsonParser,
com.fasterxml.jackson.databind.DeserializationContext deserializationContext)
Because the GooglePlus Person object contains complex objects within its hierarchy, we have to use
a custom deserializer
|
public com.google.api.services.plus.model.Person deserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
deserialize
in class com.fasterxml.jackson.databind.JsonDeserializer<com.google.api.services.plus.model.Person>
jsonParser
- deserializationContext
- Person
objectIOException
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.