Top Fields Constructors Methods
com.fasterxml.jackson.datatype.joda.ser

public Class LocalDateSerializer

extends JodaDateSerializerBase<LocalDate>
Class Inheritance
Imports
java.io.IOException, org.joda.time.LocalDate, com.fasterxml.jackson.core.*, com.fasterxml.jackson.databind.SerializationFeature, .SerializerProvider, com.fasterxml.jackson.datatype.joda.cfg.FormatConfig, .JacksonJodaDateFormat

References Deprecated

JodaDateSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from com.fasterxml.jackson.datatype.joda.ser.JodaDateSerializerBase:
_defaultNumericShape_featureForNumeric_format_shapeOverrideFORMAT_ARRAYFORMAT_STRINGFORMAT_TIMESTAMP

Constructor Summary

AccessConstructor and Description
public
public
public
LocalDateSerializer(JacksonJodaDateFormat format, int shapeOverride)

Method Summary

Modifier and TypeMethod and Description
public void
serialize(LocalDate
Value to serialize; can not be null.
value
,
JsonGenerator
Generator used to output resulting Json content
gen
,
SerializerProvider
Provider that can be used to get serializers for serializing Objects value contains, if any.
provider
)

Implements abstract com.fasterxml.jackson.databind.ser.std.StdSerializer.serialize.

Method that can be called to ask implementation to serialize values of type this serializer handles.

public LocalDateSerializer
withFormat(JacksonJodaDateFormat formatter, int shapeOverride)

Implements abstract com.fasterxml.jackson.datatype.joda.ser.JodaDateSerializerBase.withFormat.

References Deprecated LocalDateSerializer is deprecated or references (maybe indirectly) at least one deprecated element.

Inherited from com.fasterxml.jackson.datatype.joda.ser.JodaDateSerializerBase:
_serializationShapeacceptJsonFormatVisitorcreateContextualgetSchemaisEmptywriteWithZoneId

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.fasterxml.jackson.datatype.joda.ser.JodaDateSerializerBase.serialVersionUID.

Constructor Detail

LocalDateSerializerback to summary
public LocalDateSerializer()
LocalDateSerializerback to summary
public LocalDateSerializer(JacksonJodaDateFormat format)
LocalDateSerializerback to summary
public LocalDateSerializer(JacksonJodaDateFormat format, int shapeOverride)

Method Detail

serializeback to summary
public void serialize(LocalDate value, JsonGenerator gen, SerializerProvider provider) throws IOException

Implements abstract com.fasterxml.jackson.databind.ser.std.StdSerializer.serialize.

Doc from com.fasterxml.jackson.databind.JsonSerializer.serialize.

Method that can be called to ask implementation to serialize values of type this serializer handles.

Parameters
value:LocalDate

Value to serialize; can not be null.

gen:JsonGenerator

Generator used to output resulting Json content

provider:SerializerProvider

Provider that can be used to get serializers for serializing Objects value contains, if any.

Annotations
@Override
withFormatback to summary
public LocalDateSerializer withFormat(JacksonJodaDateFormat formatter, int shapeOverride)

Implements abstract com.fasterxml.jackson.datatype.joda.ser.JodaDateSerializerBase.withFormat.

References Deprecated

LocalDateSerializer is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Annotations
@Override