JToken.SelectTokens Method (String)
Click or drag to resize
Json.NET

JTokenSelectTokens Method (String)

 
Selects a collection of elements using a JPath expression.

Namespace:  Newtonsoft.Json.Linq
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 11.0.1
Syntax
C#
public IEnumerable<JToken> SelectTokens(
	string path
)

Parameters

path
Type: SystemString
A String that contains a JPath expression.

Return Value

Type: IEnumerableJToken
An IEnumerableT of JToken that contains the selected elements.
See Also