Class InstantSerializer

java.lang.Object
org.codehaus.jackson.map.JsonSerializer<Instant>
org.codehaus.jackson.map.ser.std.SerializerBase<Instant>
com.atlassian.confluence.rest.serialization.InstantSerializer
All Implemented Interfaces:
org.codehaus.jackson.schema.SchemaAware

public class InstantSerializer extends org.codehaus.jackson.map.ser.std.SerializerBase<Instant>
Serializes DateTime to string using the TIME_FORMAT in Dates
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer

    org.codehaus.jackson.map.JsonSerializer.None
  • Field Summary

    Fields inherited from class org.codehaus.jackson.map.ser.std.SerializerBase

    _handledType
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    serialize(Instant value, org.codehaus.jackson.JsonGenerator jsonGen, org.codehaus.jackson.map.SerializerProvider provider)
     

    Methods inherited from class org.codehaus.jackson.map.ser.std.SerializerBase

    createObjectNode, createSchemaNode, createSchemaNode, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrow

    Methods inherited from class org.codehaus.jackson.map.JsonSerializer

    isUnwrappingSerializer, serializeWithType, unwrappingSerializer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InstantSerializer

      public InstantSerializer()
  • Method Details

    • serialize

      public void serialize(Instant value, org.codehaus.jackson.JsonGenerator jsonGen, org.codehaus.jackson.map.SerializerProvider provider) throws IOException, org.codehaus.jackson.JsonGenerationException
      Specified by:
      serialize in class org.codehaus.jackson.map.ser.std.SerializerBase<Instant>
      Throws:
      IOException
      org.codehaus.jackson.JsonGenerationException