[BUG] values() and valueMap() inconsistent result displayed in notebook widget
- Dominant language
- Jupyter Notebook
- Stars
- 819
- Forks
- 179
- PR merge metrics
- No merged PRs in 30d
Description
**Community Note**
* Please use a 👍 reaction to provide a +1/vote. This helps the community and maintainers prioritize this request.
* If you are interested in working on this issue or have submitted a pull request, please leave a comment.
**Describe the bug**
I'm testing backslashes in Gremlin querystring and seeing different results displayed in notebook widget when running queries as below
```
### TinkerPop Console
gremlin> g.addV('test').property(id, '2').property(single, 'configValue', '[{"p1":1,"p2":"a: \\"b\\""}]').next()
==>v[2]
gremlin> g.V().values()
==>[{"p1":1,"p2":"a: \"b\""}]
gremlin> g.V().valueMap()
==>[configValue:[[{"p1":1,"p2":"a: \"b\""}]]]
### Neptune Notebook (see screenshots to understand it better)
g.V().values()
--> [{"p1":1,"p2":"a: \"b\""}]
g.V().valueMap()
--> {'configValue': ['[{"p1":1,"p2":"a: \\"b\\""}]']}
```

```
%graph_notebook_config
{
...
"gremlin": {
"traversal_source": "g",
"username": "",
"password": "",
"message_serializer": "graphsonv3"
},
...
}
Same result with `GraphBinaryV1` serializer.
```
**Expected behavior**
`value()` and `valueMap()` should return same result as TinkerPop console.
Contributor guide
Assessment
This issue has not been assessed yet.