Class UUIDDeserializer

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

    public class UUIDDeserializer
    extends com.fasterxml.jackson.databind.JsonDeserializer<UUID>
    A simple deserializer for Java UUIDs which prevents the regular Java data type from being converted to an inefficient string.
    Since:
    2.6.2
    Author:
    Jared Tiala
    • 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
      UUID 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

      • UUIDDeserializer

        public UUIDDeserializer()
    • Method Detail

      • deserialize

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