Class UUIDDeserializer

java.lang.Object
tools.jackson.databind.ValueDeserializer<UUID>
org.mongojack.internal.UUIDDeserializer
All Implemented Interfaces:
tools.jackson.databind.deser.NullValueProvider

public class UUIDDeserializer extends tools.jackson.databind.ValueDeserializer<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 tools.jackson.databind.ValueDeserializer

    tools.jackson.databind.ValueDeserializer.None
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(tools.jackson.core.JsonParser jp, tools.jackson.databind.DeserializationContext ctxt)
     

    Methods inherited from class tools.jackson.databind.ValueDeserializer

    collectAllPropertyNamesTo, createContextual, deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getObjectIdReader, handledType, hasAnySetter, isCachable, logicalType, replaceDelegatee, resolve, supportsUpdate, unwrappingDeserializer

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UUIDDeserializer

      public UUIDDeserializer()
  • Method Details

    • deserialize

      public UUID deserialize(tools.jackson.core.JsonParser jp, tools.jackson.databind.DeserializationContext ctxt) throws tools.jackson.core.JacksonException
      Specified by:
      deserialize in class tools.jackson.databind.ValueDeserializer<UUID>
      Throws:
      tools.jackson.core.JacksonException