Modifier

Partager via


JsonValue.AsChar() Method

Version: Available or changed with runtime version 1.0.

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

Syntax

Result :=   JsonValue.AsChar()

Parameters

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

Return Value

Result
 Type: Char
If the JsonValue does not contain a number which can be converted without loss of precision to a Char, the operation will fail with a run-time error.

JsonValue Data Type
Get Started with AL
Developing Extensions