Package org.gbif.api.jackson
Class LocalDateTimeSerDe.LocalDateTimeSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<LocalDateTime>
-
- org.gbif.api.jackson.LocalDateTimeSerDe.LocalDateTimeSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
- Enclosing class:
- LocalDateTimeSerDe
public static class LocalDateTimeSerDe.LocalDateTimeSerializer extends com.fasterxml.jackson.databind.JsonSerializer<LocalDateTime>
JacksonJsonSerializer
forLocalDateTime
.
-
-
Constructor Summary
Constructors Constructor Description LocalDateTimeSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(LocalDateTime value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
-
-
-
Constructor Detail
-
LocalDateTimeSerializer
public LocalDateTimeSerializer()
-
-
Method Detail
-
serialize
public void serialize(LocalDateTime value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
- Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<LocalDateTime>
- Throws:
IOException
-
-