Aerospike LINDPad Driver

JsonDocument..::..JsonPath Method (String, Boolean)

Selects a Newtonsoft.Json.Linq.JToken using a JSONPath expression. Selects the token that matches the object path.

Namespace:  Aerospike.Database.LINQPadDriver.Extensions
Assembly:  Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)

Syntax


public JToken JsonPath(
	string jsonPath,
	bool errorWhenNoMatch
)

Parameters

jsonPath
Type: String
A System.String that contains a JSONPath expression.
errorWhenNoMatch
Type: Boolean
A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.

Return Value

JToken

See Also


JTokenSelectTokens(String)
[Newtonsoft.Json.Linq.JToken.SelectToken(string, Newtonsoft.Json.Linq.JsonSelectSettings?)]
JTokenSelectTokens(String)