public final class InstantSerializer extends InstantSerializerBase<java.time.Instant>
Instants, OffsetDateTime, and ZonedDateTimes.| Modifier and Type | Field and Description |
|---|---|
static InstantSerializer |
INSTANCE |
static InstantSerializer |
INSTANT
Deprecated.
|
static OffsetDateTimeSerializer |
OFFSET_DATE_TIME
Deprecated.
|
static ZonedDateTimeSerializer |
ZONED_DATE_TIME
Deprecated.
|
| Modifier | Constructor and Description |
|---|---|
protected |
InstantSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
serializeWithType(T value,
com.fasterxml.jackson.core.JsonGenerator generator,
com.fasterxml.jackson.databind.SerializerProvider provider,
com.fasterxml.jackson.databind.jsontype.TypeSerializer serializer) |
serializeacceptJsonFormatVisitor, createObjectNode, createSchemaNode, createSchemaNode, findConvertingContentSerializer, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrowpublic static final InstantSerializer INSTANCE
@Deprecated public static final InstantSerializer INSTANT
@Deprecated public static final OffsetDateTimeSerializer OFFSET_DATE_TIME
@Deprecated public static final ZonedDateTimeSerializer ZONED_DATE_TIME
public void serializeWithType(T value,
com.fasterxml.jackson.core.JsonGenerator generator,
com.fasterxml.jackson.databind.SerializerProvider provider,
com.fasterxml.jackson.databind.jsontype.TypeSerializer serializer)
throws IOException
serializeWithType in class com.fasterxml.jackson.databind.JsonSerializer<T>IOExceptionCopyright © 2014-2015 FasterXML. All Rights Reserved.