Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1135

Improve GraphSON representation of java.time.* classes

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.1.1-incubating
    • Component/s: io
    • Labels:
      None

      Description

      Currently the java.time classes use the default field serializer which generates stuff like this (e.g. for Instant):

      {"nano":657000000,"epochSecond":1454552791}
      

      it would be nicer if we just did ISO-8061 in this case:

      2016-02-04T02:26:31.657Z
      

      Do nicer/smarter things for other classes as well.

        Attachments

          Activity

            People

            • Assignee:
              spmallette Stephen Mallette
              Reporter:
              spmallette Stephen Mallette
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: