Skip to content

Support Java 8 time: Instant, LocalDate, LocalTime, ZonedDateTime ... #635

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Original issue reported on code.google.com by stolsvik on 1 Apr 2015 at 8:14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions