Class ZonedDateTimeKeySerializer

java.lang.Object
tools.jackson.databind.ValueSerializer<ZonedDateTime>
tools.jackson.databind.ext.javatime.ser.key.ZonedDateTimeKeySerializer
All Implemented Interfaces:
JsonFormatVisitable

public class ZonedDateTimeKeySerializer extends ValueSerializer<ZonedDateTime>
  • Field Details

  • Method Details

    • serialize

      public void serialize(ZonedDateTime value, tools.jackson.core.JsonGenerator g, SerializationContext ctxt) throws tools.jackson.core.JacksonException
      Description copied from class: ValueSerializer
      Method that can be called to ask implementation to serialize values of type this serializer handles.
      Specified by:
      serialize in class ValueSerializer<ZonedDateTime>
      Parameters:
      value - Value to serialize; can not be null.
      g - Generator used to output resulting Json content
      ctxt - Context that can be used to get serializers for serializing Objects value contains, if any.
      Throws:
      tools.jackson.core.JacksonException