Class LocalDateSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<LocalDate>
io.vrap.rmf.base.client.utils.json.modules.serializers.LocalDateSerializer
- All Implemented Interfaces:
JsonFormatVisitable
,SchemaAware
,Serializable
serializes a
LocalDate
to DateTimeFormatter.ISO_DATE
format- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
JsonSerializer.None
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(LocalDate value, com.fasterxml.jackson.core.JsonGenerator gen, SerializerProvider arg2) Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdScalarSerializer
acceptJsonFormatVisitor, getSchema, serializeWithType
Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
getSchema, handledType, wrapAndThrow, wrapAndThrow
Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties
-
Constructor Details
-
LocalDateSerializer
public LocalDateSerializer()
-
-
Method Details
-
serialize
public void serialize(LocalDate value, com.fasterxml.jackson.core.JsonGenerator gen, SerializerProvider arg2) throws IOException - Specified by:
serialize
in classStdSerializer<LocalDate>
- Throws:
IOException
-