Constructor
new GraphSON2Writer(optionsopt)
Parameters:
Name |
Type |
Attributes |
Description |
options |
Object
|
<optional>
|
Properties
Name |
Type |
Attributes |
Description |
serializers |
Object
|
<optional>
|
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
getDefaultSerializers() → {Array}
Gets the default serializers to be used.
- Source:
Returns:
-
Type
-
Array
write(obj) → {String}
Returns the GraphSON representation of the provided object instance.
Parameters:
Name |
Type |
Description |
obj |
Object
|
|
- Source:
Returns:
-
Type
-
String