Class Jsr310NullKeySerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object>
-
- com.fasterxml.jackson.datatype.jsr310.ser.key.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 casenull
keys are needed to be serialized in aMap
with Java 8 temporal keys. By default thenull
key is not supported by jackson, the serializer needs to be registered manually.- Since:
- 2.6
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NULL_KEY
Deprecated.
-
Constructor Summary
Constructors Constructor Description Jsr310NullKeySerializer()
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.
-
-
-
Field Detail
-
NULL_KEY
public static final java.lang.String NULL_KEY
Deprecated.- See Also:
- Constant Field Values
-
-
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 classcom.fasterxml.jackson.databind.JsonSerializer<java.lang.Object>
- Throws:
java.io.IOException
-
-