JsonValue.AsToken() Method
Version: Available or changed with runtime version 1.0.
Converts the value in a JsonValue to a JsonToken data type.
Syntax
Token := JsonValue.AsToken()
Parameters
JsonValue
Type: JsonValue
An instance of the JsonValue data type.
Return Value
Token
Type: JsonToken
The returned JsonToken contains the same data as the JsonValue, but allows for treating the data in a generic manner.
Related information
JsonValue Data Type
Get Started with AL
Developing Extensions