GraphExportToGraphSon Method (Stream, IEnumerableString, IEnumerableString, GraphSonMode) |
Write the data in a Graph to a GraphSon JSON OutputStream.
Namespace:
VelocityGraph
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public void ExportToGraphSon(
Stream jsonOutputStream,
IEnumerable<string> vertexPropertyKeys = null,
IEnumerable<string> edgePropertyKeys = null,
GraphSonMode mode = GraphSonMode.NORMAL
)
Public Sub ExportToGraphSon (
jsonOutputStream As Stream,
Optional vertexPropertyKeys As IEnumerable(Of String) = Nothing,
Optional edgePropertyKeys As IEnumerable(Of String) = Nothing,
Optional mode As GraphSonMode = GraphSonMode.NORMAL
)
public:
void ExportToGraphSon(
Stream^ jsonOutputStream,
IEnumerable<String^>^ vertexPropertyKeys = nullptr,
IEnumerable<String^>^ edgePropertyKeys = nullptr,
GraphSonMode mode = GraphSonMode::NORMAL
)
member ExportToGraphSon :
jsonOutputStream : Stream *
?vertexPropertyKeys : IEnumerable<string> *
?edgePropertyKeys : IEnumerable<string> *
?mode : GraphSonMode
(* Defaults:
let _vertexPropertyKeys = defaultArg vertexPropertyKeys null
let _edgePropertyKeys = defaultArg edgePropertyKeys null
let _mode = defaultArg mode GraphSonMode.NORMAL
*)
-> unit
Parameters
- jsonOutputStream
- Type: System.IOStream
the JSON OutputStream to write the Graph data to - vertexPropertyKeys (Optional)
- Type: System.Collections.GenericIEnumerableString
the keys of the vertex elements to write to JSON - edgePropertyKeys (Optional)
- Type: System.Collections.GenericIEnumerableString
the keys of the edge elements to write to JSON - mode (Optional)
- Type: VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSONGraphSonMode
determines the format of the GraphSON
See Also