Table of Contents
readyaml
Table of Contents
Prototype: readyaml(filename, optional_maxbytes)
Return type: data
Description: Parses YAML data from the file filename and returns the
result as a data variable. maxbytes is optional, if specified, only the
first maxbytes bytes are read from filename.
Arguments:
Example:
vars:
"loadthis"
data => readyaml("/tmp/data.yaml", 4000);
See also: readdata(), parsejson(), parseyaml(), storejson(), mergedata(), and data documentation.
