Edit

Share via


JsonObject.ReadFromYaml(InStream) Method

Version: Available or changed with runtime version 14.3.

Reads the YAML data from the stream into a JsonObject variable.

Syntax

[Ok := ]  JsonObject.ReadFromYaml(InStream: InStream)

Parameters

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

InStream
 Type: InStream
The InStream object from which the YAML data will be read.

Return Value

[Optional] Ok
 Type: Boolean
true if the read 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