JsonToken.AsObject() Method

Version: Available or changed with runtime version 1.0.

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

Syntax

Object :=   JsonToken.AsObject()

Parameters

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

Return Value

Object
 Type: JsonObject
The returned JsonObject contains the same data as the JsonToken, but allows object-specific operations to be performed on it.

JsonToken Data Type
Get Started with AL
Developing Extensions