Class Jsr310NullKeySerializer

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

    @Deprecated
    public class Jsr310NullKeySerializer
    extends com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object>
    Deprecated.
    This class is to be used in case null keys are needed to be serialized in a Map with Java 8 temporal keys. By default the null key is not supported by jackson, the serializer needs to be registered manually.
    Since:
    2.6
    • 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 java.lang.String NULL_KEY
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void serialize​(java.lang.Object value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers)
      Deprecated.
       
      • Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

        acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties
      • Methods inherited from class java.lang.Object

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

      • Jsr310NullKeySerializer

        public Jsr310NullKeySerializer()
        Deprecated.
    • Method Detail

      • serialize

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