Class OffsetAndTimestampSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<OffsetAndTimestamp>
-
- io.streamthoughts.azkarra.serialization.json.OffsetAndTimestampSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public class OffsetAndTimestampSerializer extends com.fasterxml.jackson.databind.JsonSerializer<OffsetAndTimestamp>
TheJsonSerializer
to serializeOffsetAndTimestamp
instance.
-
-
Constructor Summary
Constructors Constructor Description OffsetAndTimestampSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(OffsetAndTimestamp value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers)
com.fasterxml.jackson.databind.JsonSerializer<OffsetAndTimestamp>
unwrappingSerializer(com.fasterxml.jackson.databind.util.NameTransformer nameTransformer)
-
-
-
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 classcom.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 classcom.fasterxml.jackson.databind.JsonSerializer<OffsetAndTimestamp>
-
-