Top Fields Constructors Methods
tools.jackson.databind.ext.javatime.ser.key

public Class ZonedDateTimeKeySerializer

extends ValueSerializer<ZonedDateTime>
Class Inheritance
Imports
java.time.ZonedDateTime, java.time.format.DateTimeFormatter, tools.jackson.core.JacksonException, .JsonGenerator, tools.jackson.databind.ValueSerializer, .SerializationContext, tools.jackson.databind.cfg.DateTimeFeature, tools.jackson.databind.ext.javatime.util.DecimalUtils

Field Summary

Modifier and TypeField and Description
public static final ZonedDateTimeKeySerializer

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
serialize(ZonedDateTime value, JsonGenerator g, SerializationContext ctxt)

Implements abstract tools.jackson.databind.ValueSerializer.serialize.

Method that can be called to ask implementation to serialize values of type this serializer handles.

private static boolean
private static boolean
Inherited from tools.jackson.databind.ValueSerializer:
acceptJsonFormatVisitorcreateContextualgetDelegateehandledTypeisEmptyisUnwrappingSerializerpropertiesreplaceDelegateeresolveserializeWithTypeunwrappingSerializerusesObjectIdwithFilterIdwithFormatOverrideswithIgnoredProperties

Field Detail

INSTANCEback to summary
public static final ZonedDateTimeKeySerializer INSTANCE

Constructor Detail

ZonedDateTimeKeySerializerback to summary
private ZonedDateTimeKeySerializer()

Method Detail

serializeback to summary
public void serialize(ZonedDateTime value, JsonGenerator g, SerializationContext ctxt) throws JacksonException

Implements abstract tools.jackson.databind.ValueSerializer.serialize.

Doc from tools.jackson.databind.ValueSerializer.serialize.

Method that can be called to ask implementation to serialize values of type this serializer handles.

Annotations
@Override
useNanosback to summary
private static boolean useNanos(SerializationContext ctxt)
useTimestampsback to summary
private static boolean useTimestamps(SerializationContext ctxt)