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 casenullkeys are needed to be serialized in aMapwith Java 8 temporal keys. By default thenullkey 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.StringNULL_KEYDeprecated.
-
Constructor Summary
Constructors Constructor Description Jsr310NullKeySerializer()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidserialize(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.IOExceptionDeprecated.- Specified by:
serializein classcom.fasterxml.jackson.databind.JsonSerializer<java.lang.Object>- Throws:
java.io.IOException
-
-