Edit

Share via


JsonObject.ReadFromYaml(Text) Method

Version: Available or changed with runtime version 14.3.

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

Syntax

[Ok := ]  JsonObject.ReadFromYaml(String: Text)

Parameters

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

String
 Type: Text
The String 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