Class DBRefDeserializer<T,​K>

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.deser.NullValueProvider

    public class DBRefDeserializer<T,​K>
    extends com.fasterxml.jackson.databind.JsonDeserializer<DBRef>
    Deserializer for DBRefs
    Since:
    1.2
    Author:
    James Roper
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer

        com.fasterxml.jackson.databind.JsonDeserializer.None
    • Constructor Summary

      Constructors 
      Constructor Description
      DBRefDeserializer​(com.fasterxml.jackson.databind.JavaType type, com.fasterxml.jackson.databind.JavaType keyType)  
      DBRefDeserializer​(com.fasterxml.jackson.databind.JavaType type, com.fasterxml.jackson.databind.JavaType keyType, com.fasterxml.jackson.databind.JsonDeserializer<K> keyDeserializer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DBRef deserialize​(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)  
      • Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer

        deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
    • Constructor Detail

      • DBRefDeserializer

        public DBRefDeserializer​(com.fasterxml.jackson.databind.JavaType type,
                                 com.fasterxml.jackson.databind.JavaType keyType)
      • DBRefDeserializer

        public DBRefDeserializer​(com.fasterxml.jackson.databind.JavaType type,
                                 com.fasterxml.jackson.databind.JavaType keyType,
                                 com.fasterxml.jackson.databind.JsonDeserializer<K> keyDeserializer)
    • Method Detail

      • deserialize

        public DBRef deserialize​(com.fasterxml.jackson.core.JsonParser jp,
                                 com.fasterxml.jackson.databind.DeserializationContext ctxt)
                          throws IOException,
                                 com.fasterxml.jackson.core.JsonProcessingException
        Specified by:
        deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<DBRef>
        Throws:
        IOException
        com.fasterxml.jackson.core.JsonProcessingException