GraphSonUtilityVertexFromJson Method (JObject, IElementFactory, GraphSonMode, IEnumerableString) |
Reads an individual Vertex from JSON. The vertex must match the accepted GraphSON format.
Namespace:
VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSON
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public static IVertex VertexFromJson(
JObject json,
IElementFactory factory,
GraphSonMode mode,
IEnumerable<string> propertyKeys
)
Public Shared Function VertexFromJson (
json As JObject,
factory As IElementFactory,
mode As GraphSonMode,
propertyKeys As IEnumerable(Of String)
) As IVertex
public:
static IVertex^ VertexFromJson(
JObject^ json,
IElementFactory^ factory,
GraphSonMode mode,
IEnumerable<String^>^ propertyKeys
)
static member VertexFromJson :
json : JObject *
factory : IElementFactory *
mode : GraphSonMode *
propertyKeys : IEnumerable<string> -> IVertex
Parameters
- json
- Type: JObject
a single vertex in GraphSON format as Jackson JsonNode - factory
- Type: VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSONIElementFactory
the factory responsible for constructing graph elements - mode
- Type: VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSONGraphSonMode
the mode of the GraphSON - propertyKeys
- Type: System.Collections.GenericIEnumerableString
a list of keys to include on reading of element properties
Return Value
Type:
IVertex[Missing <returns> documentation for "M:VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSON.GraphSonUtility.VertexFromJson(Newtonsoft.Json.Linq.JObject,VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSON.IElementFactory,VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSON.GraphSonMode,System.Collections.Generic.IEnumerable{System.String})"]
See Also