Module tools.jackson.databind
Class ZonedDateTimeKeySerializer
java.lang.Object
tools.jackson.databind.ValueSerializer<ZonedDateTime>
tools.jackson.databind.ext.javatime.ser.key.ZonedDateTimeKeySerializer
- All Implemented Interfaces:
JsonFormatVisitable
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ValueSerializer
ValueSerializer.None -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidserialize(ZonedDateTime value, JsonGenerator g, SerializationContext ctxt) Method that can be called to ask implementation to serialize values of type this serializer handles.Methods inherited from class tools.jackson.databind.ValueSerializer
acceptJsonFormatVisitor, createContextual, getDelegatee, handledType, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, resolve, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties
-
Field Details
-
INSTANCE
-
-
Method Details
-
serialize
public void serialize(ZonedDateTime value, JsonGenerator g, SerializationContext ctxt) throws JacksonException Description copied from class:ValueSerializerMethod that can be called to ask implementation to serialize values of type this serializer handles.- Specified by:
serializein classValueSerializer<ZonedDateTime>- Parameters:
value- Value to serialize; can not be null.g- Generator used to output resulting Json contentctxt- Context that can be used to get serializers for serializing Objects value contains, if any.- Throws:
JacksonException
-