Class GraphSON2MessageSerializer
Serializes data to and from Gremlin Server in GraphSON2 format.
Implements
Inherited Members
Namespace: Gremlin.Net.Structure.IO.GraphSON
Assembly: Gremlin.Net.dll
Syntax
public class GraphSON2MessageSerializer : GraphSONMessageSerializer, IMessageSerializer
Constructors
GraphSON2MessageSerializer(GraphSON2Reader?, GraphSON2Writer?)
Initializes a new instance of the GraphSON2MessageSerializer class with custom serializers.
Declaration
public GraphSON2MessageSerializer(GraphSON2Reader? graphSONReader = null, GraphSON2Writer? graphSONWriter = null)
Parameters
Type | Name | Description |
---|---|---|
GraphSON2Reader | graphSONReader | The GraphSON2Reader used to deserialize from GraphSON. |
GraphSON2Writer | graphSONWriter | The GraphSON2Writer used to serialize to GraphSON. |