public class LocalDateSerializer extends JodaDateSerializerBase<org.joda.time.LocalDate>
_defaultNumericShape, _featureForNumeric, _format, _shapeOverride, FORMAT_ARRAY, FORMAT_STRING, FORMAT_TIMESTAMP
Constructor and Description |
---|
LocalDateSerializer() |
LocalDateSerializer(JacksonJodaDateFormat format,
int shapeOverride) |
Modifier and Type | Method and Description |
---|---|
void |
serialize(org.joda.time.LocalDate value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
void |
serializeWithType(T value,
com.fasterxml.jackson.core.JsonGenerator g,
com.fasterxml.jackson.databind.SerializerProvider provider,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) |
LocalDateSerializer |
withFormat(JacksonJodaDateFormat formatter,
int shapeOverride) |
_serializationShape, acceptJsonFormatVisitor, createContextual, getSchema, isEmpty, writeWithZoneId
_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
public LocalDateSerializer()
public LocalDateSerializer(JacksonJodaDateFormat format, int shapeOverride)
public LocalDateSerializer withFormat(JacksonJodaDateFormat formatter, int shapeOverride)
withFormat
in class JodaDateSerializerBase<org.joda.time.LocalDate>
public void serialize(org.joda.time.LocalDate value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
serialize
in class com.fasterxml.jackson.databind.ser.std.StdSerializer<org.joda.time.LocalDate>
IOException
public void serializeWithType(T value, com.fasterxml.jackson.core.JsonGenerator g, com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) throws IOException
serializeWithType
in class com.fasterxml.jackson.databind.JsonSerializer<T>
IOException
Copyright © 2018 FasterXML. All rights reserved.