GraphSonUtilityJsonFromElement Method (IElement, IEnumerableString, GraphSonMode) |
Creates a JSON.NET ObjectNode from a graph element.
Namespace:
VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSON
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public static JObject JsonFromElement(
IElement element,
IEnumerable<string> propertyKeys,
GraphSonMode mode
)
Public Shared Function JsonFromElement (
element As IElement,
propertyKeys As IEnumerable(Of String),
mode As GraphSonMode
) As JObject
public:
static JObject^ JsonFromElement(
IElement^ element,
IEnumerable<String^>^ propertyKeys,
GraphSonMode mode
)
static member JsonFromElement :
element : IElement *
propertyKeys : IEnumerable<string> *
mode : GraphSonMode -> JObject
Parameters
- element
- Type: VelocityGraph.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: VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSONGraphSonMode
The type of GraphSON to generate.
Return Value
Type:
JObject[Missing <returns> documentation for "M:VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSON.GraphSonUtility.JsonFromElement(VelocityGraph.Frontenac.Blueprints.IElement,System.Collections.Generic.IEnumerable{System.String},VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSON.GraphSonMode)"]
See Also