[ 
https://issues.apache.org/jira/browse/TINKERPOP-2052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16634426#comment-16634426
 ] 

Sam Adams commented on TINKERPOP-2052:
--------------------------------------

Thanks for the education.  Been using HTTP/WS APIs for a long time with Titan 
and now Janus, but GLVs are new territory for me.

I should be able to use project() and other approaches.  Unless Jorge wants to 
keep open, we can close this one.   Thanks for the fast feedback!

As for the example:

I would expect select("v") and select("v","vid") to both return the same value 
for "v" in the result, even though the first is a "naked" vertex reference and 
the second is a vertex reference as the associated value of the "v" key in the 
returned object \{v: ..., vid: ...}.  

I guess it is possible that since the result of a multiple keyed select is an 
object, we are getting an object serializer instead of a vertex serializer?  If 
so, then is the object serializer converting the values assuming they are 
generic objects and not using a type-based serializer?

> Adding GraphSONMapper to gremlin-javascript
> -------------------------------------------
>
>                 Key: TINKERPOP-2052
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2052
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: io, javascript
>            Reporter: Sam Adams
>            Priority: Major
>
> Thanks [~jorgebg] for the excellent start on the GLV for javascript! Using it 
> daily.
> Really need GraphSONMapper equivalent as my use cases need to retrieve and 
> process graph elements and subgraphs as JSON.
> Any plans for adding this, or should I look for workarounds?
> I would imagine that we will also need this after we can submit scripts 
> directly ala TINKERPOP-1959



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to