You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2016/02/08 13:05:39 UTC

[jira] [Created] (TINKERPOP-1135) Improve GraphSON representation of java.time.* classes

stephen mallette created TINKERPOP-1135:
-------------------------------------------

             Summary: Improve GraphSON representation of java.time.* classes
                 Key: TINKERPOP-1135
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1135
             Project: TinkerPop
          Issue Type: Improvement
          Components: io
    Affects Versions: 3.1.1-incubating
            Reporter: stephen mallette
            Assignee: stephen mallette
             Fix For: 3.1.2-incubating


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

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

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

{code}
2016-02-04T02:26:31.657Z
{code}

Do nicer/smarter things for other classes as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)