Class OneBasedMonthSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<Month>
com.fasterxml.jackson.datatype.jsr310.ser.OneBasedMonthSerializer
- All Implemented Interfaces:
JsonFormatVisitable
- Since:
- 2.17
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
JsonSerializer.None -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidserialize(Month value, JsonGenerator gen, SerializerProvider ctxt) Method that can be called to ask implementation to serialize values of type this serializer handles.Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties
-
Constructor Details
-
OneBasedMonthSerializer
-
-
Method Details
-
serialize
Description copied from class:JsonSerializerMethod that can be called to ask implementation to serialize values of type this serializer handles.- Specified by:
serializein classJsonSerializer<Month>- Parameters:
value- Value to serialize; can not be null.gen- Generator used to output resulting Json contentctxt- Provider that can be used to get serializers for serializing Objects value contains, if any.- Throws:
IOException
-