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.
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.
Related information
JsonObject data type
Getting started with AL
Developing extensions