Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Version: Available or changed with runtime version 14.3.
Serializes and writes the JsonObject as YAML to a given Text object.
Syntax
[Ok := ] JsonObject.WriteToYaml(var String: Text)
Parameters
JsonObject
Type: JsonObject
An instance of the JsonObject data type.
String
Type: Text
The Text object to which the YAML data will be written.
Return Value
[Optional] Ok
Type: Boolean
true if the write was successful; otherwise, false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
Related information
JsonObject data type
Getting started with AL
Developing extensions