Repository: tinkerpop
Updated Branches:
  refs/heads/js-doc-graphson3 [created] 7d0d83705


JavaScript GLV: Document lack of GraphSON3 support


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/7d0d8370
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/7d0d8370
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/7d0d8370

Branch: refs/heads/js-doc-graphson3
Commit: 7d0d83705d515896dae604137f2dec73d786034e
Parents: 38b85d2
Author: Jorge Bay Gondra <jorgebaygon...@gmail.com>
Authored: Fri Apr 20 14:15:02 2018 +0200
Committer: Jorge Bay Gondra <jorgebaygon...@gmail.com>
Committed: Fri Apr 20 14:15:02 2018 +0200

----------------------------------------------------------------------
 docs/src/reference/gremlin-variants.asciidoc | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/7d0d8370/docs/src/reference/gremlin-variants.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/reference/gremlin-variants.asciidoc 
b/docs/src/reference/gremlin-variants.asciidoc
index f731702..2ba9966 100644
--- a/docs/src/reference/gremlin-variants.asciidoc
+++ b/docs/src/reference/gremlin-variants.asciidoc
@@ -499,6 +499,19 @@ Very similar to Gremlin-Python and Gremlin-Java, there are 
various ways to submi
 * `Traversal.next()`
 * `Traversal.toList()`
 
+=== GraphSON3 Support
+
+GraphSON3, which is the default serialization format in Gremlin Server 3.3+, 
is not yet supported in Gremlin-JavaScript.
+We are planning to support it in the upcoming versions. In the meantime, if 
you want to use Gremlin-JavaScript against
+the Gremlin Server 3.3 you must include the GraphSON2 serializer.
+
+In the server yaml configuration file, add the following line under 
`serializers`:
+
+[source]
+----
+  - { className: 
org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerGremlinV2d0, 
config: { ioRegistries: 
[org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistryV2d0] }}
+----
+
 === Static Enums and Methods
 
 Gremlin has various tokens (e.g. `t`, `P`, `order`, `direction`, etc.) that 
are represented in Gremlin-JavaScript as

Reply via email to