Loader.load

Load 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.

struct Loader
load
@safe
(
)

Return Value

Type: Node

Root node of the document.

Throws

YAMLException if there wasn't exactly one document or on a YAML parsing error.

Meta