Class: GraphSONWriter

GraphSONWriter(optionsopt)

GraphSON Writer

Constructor

new GraphSONWriter(optionsopt)

Parameters:
Name Type Attributes Description
options Object <optional>
Properties
Name Type Description
serializers Object An object used as an associative array with GraphSON 2 type name as keys and serializer instances as values, ie: { 'g:Int64': longSerializer }.
Source:

Methods

write(obj) → {String}

Returns the GraphSON representation of the provided object instance.
Parameters:
Name Type Description
obj Object
Source:
Returns:
Type
String