Json.NET Documentation
Json.NET Documentation
API Reference
Newtonsoft.Json.Linq
JToken Class
JToken Methods
SelectTokens Method
SelectTokens Method (String)
SelectTokens Method (String, Boolean)
JToken
SelectTokens Method (String)
Selects a collection of elements using a JPath expression.
Namespace:
Newtonsoft.Json.Linq
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
Copy
public
IEnumerable
<
JToken
>
SelectTokens
(
string
path
)
Parameters
path
Type:
System
String
A
String
that contains a JPath expression.
Return Value
Type:
IEnumerable
JToken
An
IEnumerable
T
of
JToken
that contains the selected elements.
See Also
Reference
JToken Class
SelectTokens Overload
Newtonsoft.Json.Linq Namespace
Json.NET Home