JsonValue.SelectToken(Text, var JsonToken) Method

Version: Available or changed with runtime version 1.0.

Selects a JsonToken using a JPath expression.

Syntax

[Ok := ]  JsonValue.SelectToken(Path: Text, var Result: JsonToken)

Parameters

JsonValue
 Type: JsonValue
An instance of the JsonValue data type.

Path
 Type: Text

Result
 Type: JsonToken

Return Value

[Optional] Ok
 Type: Boolean
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

JsonValue Data Type
Get Started with AL
Developing Extensions