{"id":1,"label":"vertex", ... }{"id":2,"label":"vertex", ... }{"id":3,"label":"vertex", ... }
I expect I can work around these problems by writing additional code. For the first problem, I can iterate over the edges and call writeEdge(OutputStream outputStream, Edge e) for each edge, along with the necessary syntax to create a JSON array. If I do that, then I probably should just do the same thing for vertices. But it seems wrong to do this when GraphSONWriter already has methods for handling Traversals. Yet if I use writeVertices as is, I will need to parse the stream to insert the array syntax, which is likely going to be about the same level of effort.
Am I overlooking a better solution? Is GraphSONWriter's current behavior working as designed? Although it may be too late to change or enhance GraphSONWriter's for TK 3.0 GM, does it make sense to consider enhancements for a subsequent minor release?
Thanks.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAHqfici1h4fd28d9jTNPuBJCfjb4_%3DMmquGbobnt_3GU3yj5sQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAA-H43-YBEJwt88bsUj-xtOqw%2B4KQ0_0bv5qAs7yXELWwmgZ7w%40mail.gmail.com.
Hello!
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/2d8f6646-f5b7-43ba-afce-e97db59269de%40googlegroups.com.