Skip to content

java.util.Date etc. should serialize as ISO 8601 #3

Open
talios opened this Issue Oct 8, 2012 · 1 comment

1 participant

@talios
HalBuilder HAL API for the JVM member
talios commented Oct 8, 2012

Should these also auto magically deserialize?

Re: http://www.w3.org/TR/NOTE-datetime

@talios
HalBuilder HAL API for the JVM member
talios commented Jan 31, 2013

http://wiki.fasterxml.com/JacksonFAQDateHandling

objectMapper.configure(SerializationConfig.Feature.WRITE_DATES_AS_TIMESTAMPS, false);

or

objectMapper.setDateFormat(myDateFormat); // 1.8 and above

Something else for JDOM/XML usage...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.