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

public Class MonthDaySerializer

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

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
MonthDaySerializer(JacksonJodaDateFormat format, int shapeOverride)

Method Summary

Modifier and TypeMethod and Description
public void
serialize(MonthDay
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 MonthDaySerializer
withFormat(JacksonJodaDateFormat formatter, int shapeOverride)

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

References Deprecated MonthDaySerializer 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

MonthDaySerializerback to summary
public MonthDaySerializer()
MonthDaySerializerback to summary
public MonthDaySerializer(JacksonJodaDateFormat format)
MonthDaySerializerback to summary
public MonthDaySerializer(JacksonJodaDateFormat format, int shapeOverride)

Method Detail

serializeback to summary
public void serialize(MonthDay 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:MonthDay

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 MonthDaySerializer withFormat(JacksonJodaDateFormat formatter, int shapeOverride)

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

References Deprecated

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

See corresponding docs for further information.

Annotations
@Override