Loader.loadAll

Load all YAML documents.

This is just a shortcut that iterates over all documents and returns them all at once. Calling loadAll after iterating over the node or vice versa will not return any documents, as they have all been parsed already.

This can only be called once; this is enforced by contract.

struct Loader
loadAll
@safe
(
)

Return Value

Type: Node[]

Array of root nodes of all documents in the file/stream.

Throws

YAMLException on a parsing error.

Meta