Class EncryptedFieldDeserializer

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

    @Internal
    public class EncryptedFieldDeserializer
    extends com.fasterxml.jackson.databind.JsonDeserializer<Object>
    implements com.fasterxml.jackson.databind.deser.ContextualDeserializer
    • Nested Class Summary

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.fasterxml.jackson.databind.JsonDeserializer<?> createContextual​(com.fasterxml.jackson.databind.DeserializationContext ctxt, com.fasterxml.jackson.databind.BeanProperty property)
      Returns a copy of this deserializer specialized for the given context.
      Object deserialize​(com.fasterxml.jackson.core.JsonParser p, 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

      • EncryptedFieldDeserializer

        public EncryptedFieldDeserializer​(CryptoManager cryptoManager,
                                          Encrypted annotation)
      • EncryptedFieldDeserializer

        public EncryptedFieldDeserializer​(CryptoManager cryptoManager,
                                          Encrypted annotation,
                                          com.fasterxml.jackson.databind.BeanProperty beanProperty)
    • Method Detail

      • createContextual

        public com.fasterxml.jackson.databind.JsonDeserializer<?> createContextual​(com.fasterxml.jackson.databind.DeserializationContext ctxt,
                                                                                   com.fasterxml.jackson.databind.BeanProperty property)
        Returns a copy of this deserializer specialized for the given context.
        Specified by:
        createContextual in interface com.fasterxml.jackson.databind.deser.ContextualDeserializer
      • deserialize

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