FROM_YAML
Reads a YAML document into a variable.
destination must be a single variable name; the function writes into it directly. Only the first document is read. On an error (TYPE_MISMATCH, INVALID_ARGUMENT, UNKNOWN_KEY, STRING_TOO_LONG) the variable stays unchanged.
Parameters and results
sourceSTRING: the YAML documentdestinationvariable: the variable that receives the values- no results
Example
c0de
CALL c0de/strings/FROM_YAML readError
PARAMETER source config ;
PARAMETER destination settings ;