The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.
Serializes and writes the JSON data of the JsonValue to a given Text object.
[Ok := ] JsonValue.WriteTo(var Text)
The Text object to which the JSON data will be written.
Property Value/Return Value
True if the write was successful; otherwise, false.
If you omit this optional return value and if the write does not execute successfully, then a run-time error occurs.