public class JodaLocalDateSerializer
extends com.fasterxml.jackson.databind.JsonSerializer<org.joda.time.LocalDate>
Constructor and Description |
---|
JodaLocalDateSerializer() |
Modifier and Type | Method and Description |
---|---|
static com.fasterxml.jackson.databind.module.SimpleModule |
makeModule()
Create a module including the serializer and deserializer for local dates
|
void |
serialize(org.joda.time.LocalDate localDate,
com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
com.fasterxml.jackson.databind.SerializerProvider serializerProvider) |
public static com.fasterxml.jackson.databind.module.SimpleModule makeModule()
public void serialize(org.joda.time.LocalDate localDate, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
serialize
in class com.fasterxml.jackson.databind.JsonSerializer<org.joda.time.LocalDate>
IOException
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2018. All rights reserved.