The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.

AsText Method

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

Text := JsonValue.AsText


 Type: JsonValue

Return Value

 Type: Text


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

See Also

Getting Started with AL
Developing Extensions