JsonToken.AsArray() Method

Version: Available or changed with runtime version 1.0.

Converts the value in a JsonToken to a JsonArray data type.

Syntax

Array :=   JsonToken.AsArray()

Parameters

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

Return Value

Array
 Type: JsonArray
The returned JsonArray contains the same data as the JsonToken, but allows array-specific operations to be performed on it.

See Also

JsonToken Data Type
Get Started with AL
Developing Extensions