public class ISODateSerializer
extends org.codehaus.jackson.map.JsonSerializer<org.joda.time.DateTime>
DateTime
in ISO format. Unlike org.codehaus.jackson.map.ext.JodaSerializers
doesn't use SerializationConfig.Feature.WRITE_DATES_AS_TIMESTAMPS
.Constructor and Description |
---|
ISODateSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
serialize(org.joda.time.DateTime value,
org.codehaus.jackson.JsonGenerator jgen,
org.codehaus.jackson.map.SerializerProvider provider) |
public void serialize(org.joda.time.DateTime value, org.codehaus.jackson.JsonGenerator jgen, org.codehaus.jackson.map.SerializerProvider provider) throws IOException, org.codehaus.jackson.JsonProcessingException
serialize
in class org.codehaus.jackson.map.JsonSerializer<org.joda.time.DateTime>
IOException
org.codehaus.jackson.JsonProcessingException
Copyright © 2002-2015 Atlassian. All Rights Reserved.