Edit

Share via


JsonObject.WriteToYaml(OutStream) Method

Version: Available or changed with runtime version 14.3.

Serializes and writes content the JsonObject as YAML text to a given OutStream object.

Syntax

[Ok := ]  JsonObject.WriteToYaml(OutStream: OutStream)

Parameters

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

OutStream
 Type: OutStream
The OutStream object to which the YAML 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.

JsonObject data type
Getting started with AL
Developing extensions