Class ZonedDateTimeSerializer

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.jsonschema.SchemaAware, com.fasterxml.jackson.databind.ser.ContextualSerializer, java.io.Serializable

    public class ZonedDateTimeSerializer
    extends InstantSerializerBase<java.time.ZonedDateTime>
    See Also:
    Serialized Form
    • Field Detail

      • _writeZoneId

        protected final java.lang.Boolean _writeZoneId
        Flag for JsonFormat.Feature.WRITE_DATES_WITH_ZONE_ID
        Since:
        2.8
    • Constructor Detail

      • ZonedDateTimeSerializer

        protected ZonedDateTimeSerializer()
      • ZonedDateTimeSerializer

        public ZonedDateTimeSerializer​(java.time.format.DateTimeFormatter formatter)
      • ZonedDateTimeSerializer

        protected ZonedDateTimeSerializer​(ZonedDateTimeSerializer base,
                                          java.lang.Boolean useTimestamp,
                                          java.time.format.DateTimeFormatter formatter,
                                          java.lang.Boolean writeZoneId)
      • ZonedDateTimeSerializer

        @Deprecated
        protected ZonedDateTimeSerializer​(ZonedDateTimeSerializer base,
                                          java.lang.Boolean useTimestamp,
                                          java.lang.Boolean useNanoseconds,
                                          java.time.format.DateTimeFormatter formatter,
                                          java.lang.Boolean writeZoneId)
        Deprecated.
      • ZonedDateTimeSerializer

        protected ZonedDateTimeSerializer​(ZonedDateTimeSerializer base,
                                          java.lang.Boolean useTimestamp,
                                          java.lang.Boolean useNanoseconds,
                                          java.time.format.DateTimeFormatter formatter,
                                          com.fasterxml.jackson.annotation.JsonFormat.Shape shape,
                                          java.lang.Boolean writeZoneId)
        Since:
        2.14