Class ThreeTenNullKeySerializer

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable

    @Deprecated
    public class ThreeTenNullKeySerializer
    extends com.fasterxml.jackson.databind.JsonSerializer<Object>
    Deprecated.
    This class is to be used in case null keys are needed to be serialized in a Map with ThreeTen temporal keys. By default the null key is not supported by jackson, the serializer needs to be registered manually.
    Since:
    2.6
    Author:
    Zoltan Kiss
    • Nested Class Summary

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

        com.fasterxml.jackson.databind.JsonSerializer.None
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String NULL_KEY
      Deprecated.
       
    • Constructor Detail

      • ThreeTenNullKeySerializer

        public ThreeTenNullKeySerializer()
        Deprecated.
    • Method Detail

      • serialize

        public void serialize​(Object value,
                              com.fasterxml.jackson.core.JsonGenerator gen,
                              com.fasterxml.jackson.databind.SerializerProvider serializers)
                       throws IOException
        Deprecated.
        Specified by:
        serialize in class com.fasterxml.jackson.databind.JsonSerializer<Object>
        Throws:
        IOException