Loader.load
Node load() @safeLoad single YAML document.
If none or more than one YAML document is found, this throws a YAMLException.
This can only be called once; this is enforced by contract.
Returns
Root node of the document.
Throws
YAMLException if there wasn't exactly one document
or on a YAML parsing error.