Click or drag to resize

GraphSonUtilityJsonFromElement Method (IElement, IEnumerableString, GraphSonMode)

Creates a JSON.NET ObjectNode from a graph element.

Namespace:  Frontenac.Blueprints.Util.IO.GraphSON
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 10.1.0.0 (10.1)
Syntax
public static JObject JsonFromElement(
	IElement element,
	IEnumerable<string> propertyKeys,
	GraphSonMode mode
)

Parameters

element
Type: Frontenac.BlueprintsIElement
the graph element to convert to JSON.
propertyKeys
Type: System.Collections.GenericIEnumerableString
The property keys at the root of the element to serialize. If null, then all keys are serialized.
mode
Type: Frontenac.Blueprints.Util.IO.GraphSONGraphSonMode
The type of GraphSON to generate.

Return Value

Type: JObject

[Missing <returns> documentation for "M:Frontenac.Blueprints.Util.IO.GraphSON.GraphSonUtility.JsonFromElement(Frontenac.Blueprints.IElement,System.Collections.Generic.IEnumerable{System.String},Frontenac.Blueprints.Util.IO.GraphSON.GraphSonMode)"]

See Also