JsonValue.AsText() Method

Version: Available or changed with runtime version 1.0.

Converts the value in a JsonValue to a Text data type.

Syntax

Result :=   JsonValue.AsText()

Parameters

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

Return Value

Result
 Type: Text

Remarks

The operation will fail with a run-time error if the JsonValue contains NULL or UNDEFINED.

JsonValue Data Type
Get Started with AL
Developing Extensions