Dumper.dump

void dump(CharacterType = char, Range)(Range range, Node[] documents ...) if (isOutputRange!(Range, CharacterType) && isOutputRange!(Range, char) || isOutputRange!(Range, wchar) || isOutputRange!(Range, dchar))

Dump one or more YAML _documents to the file/stream.

Note that while you can call dump() multiple times on the same dumper, you will end up writing multiple YAML "files" to the same file/stream.

Parameters

documentsDocuments to _dump (root nodes of the _documents).

Throws

YAMLException on error (e.g. invalid nodes,

unable to write to file/stream).