[This is preliminary documentation and is subject to change.]
Navigates through JSON datamap by subsequent node names.
Namespace: NFX.SerializationAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static Object GetNodeByPath(
this JSONDataMap json,
params string[] nodeNames
)
public static Object GetNodeByPath(
this JSONDataMap json,
params string[] nodeNames
)
<ExtensionAttribute>
Public Shared Function GetNodeByPath (
json As JSONDataMap,
ParamArray nodeNames As String()
) As Object
<ExtensionAttribute>
Public Shared Function GetNodeByPath (
json As JSONDataMap,
ParamArray nodeNames As String()
) As Object
public:
[ExtensionAttribute]
static Object^ GetNodeByPath(
JSONDataMap^ json,
... array<String^>^ nodeNames
)
public:
[ExtensionAttribute]
static Object^ GetNodeByPath(
JSONDataMap^ json,
... array<String^>^ nodeNames
)
static member GetNodeByPath :
json : JSONDataMap *
nodeNames : string[] -> Object
static member GetNodeByPath :
json : JSONDataMap *
nodeNames : string[] -> Object
Return Value
Type:
Object
null if navigation path is not exists.
JSONDataMap if navigation ends up with non-leaf node.
object if navigation ends up with leaf node.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
JSONDataMap. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).