Issue 635 in google-gson: Support Java 8 time: Instant, LocalDate, LocalTime, ZonedDateTime ...

190 views
Skip to first unread message

googl...@googlecode.com

unread,
Apr 1, 2015, 4:14:50 AM4/1/15
to google-gson...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 635 by stolsvik: Support Java 8 time: Instant, LocalDate,
LocalTime, ZonedDateTime ...
https://code.google.com/p/google-gson/issues/detail?id=635

GSon should support the Java 8 time.

It now serializes the time classes with its fields. This basically only
works if you use GSON on both sides of the equation.

It would be better, IMHO, if it used ISO strings - as that is the "lingua
franca" for all date stuff, and most libraries support this.

There is a github project for this:
https://github.com/gkopff/gson-javatime-serialisers

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages