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

Closed
talios opened this Issue Oct 8, 2012 · 2 comments

Comments

Projects
None yet
1 participant
@talios
Member

talios commented Oct 8, 2012

Should these also auto magically deserialize?

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

@talios

This comment has been minimized.

Show comment
Hide comment
@talios

talios Jan 31, 2013

Member

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...

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...

@talios

This comment has been minimized.

Show comment
Hide comment
@talios

talios Aug 16, 2017

Member

Fully controllable via HalBuilder 5 now accepting a custom ObjectMapper.

Member

talios commented Aug 16, 2017

Fully controllable via HalBuilder 5 now accepting a custom ObjectMapper.

@talios talios closed this Aug 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment