Class OffsetAndTimestampSerializer

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable

    public class OffsetAndTimestampSerializer
    extends com.fasterxml.jackson.databind.JsonSerializer<OffsetAndTimestamp>
    The JsonSerializer to serialize OffsetAndTimestamp instance.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer

        com.fasterxml.jackson.databind.JsonSerializer.None
    • Constructor Detail

      • OffsetAndTimestampSerializer

        public OffsetAndTimestampSerializer()
    • Method Detail

      • serialize

        public void serialize​(OffsetAndTimestamp value,
                              com.fasterxml.jackson.core.JsonGenerator gen,
                              com.fasterxml.jackson.databind.SerializerProvider serializers)
                       throws IOException
        Specified by:
        serialize in class com.fasterxml.jackson.databind.JsonSerializer<OffsetAndTimestamp>
        Throws:
        IOException
      • unwrappingSerializer

        public com.fasterxml.jackson.databind.JsonSerializer<OffsetAndTimestamp> unwrappingSerializer​(com.fasterxml.jackson.databind.util.NameTransformer nameTransformer)
        Overrides:
        unwrappingSerializer in class com.fasterxml.jackson.databind.JsonSerializer<OffsetAndTimestamp>