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