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