SelectToken Method (path)

Json.NET

Json.NET - Quick Starts & API Documentation SelectToken Method (path)
NamespacesNewtonsoft.Json.LinqJTokenSelectToken(String)
Selects the token that matches the object path.
Declaration Syntax
C# Visual Basic Visual C++
public JToken SelectToken(
	string path
)
Public Function SelectToken ( _
	path As String _
) As JToken
public:
JToken^ SelectToken(
	String^ path
)
Parameters
path (String)
The object path from the current JToken to the JToken to be returned. This must be a string of property names or array indexes separated by periods, such as
CopyC#
Tables[0].DefaultView[0].Price
in C# or
CopyC#
Tables(0).DefaultView(0).Price
in Visual Basic.
Return Value
The JToken that matches the object path or a null reference if no matching token is found.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.6.14930)