public class JsonDateSerializer
extends com.fasterxml.jackson.databind.JsonSerializer<java.util.Date>
Constructor and Description |
---|
JsonDateSerializer() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
serialize(java.util.Date value)
Serialize a date in ISO 8601 format.
|
void |
serialize(java.util.Date value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider arg2) |
public void serialize(java.util.Date value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider arg2) throws java.io.IOException, com.fasterxml.jackson.core.JsonProcessingException
serialize
in class com.fasterxml.jackson.databind.JsonSerializer<java.util.Date>
java.io.IOException
com.fasterxml.jackson.core.JsonProcessingException
public static final java.lang.String serialize(java.util.Date value)
value
-