Dumper.dump

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.

struct Dumper
void
dump
(
CharacterType = char
Range
)
if (
isOutputRange!(Range, CharacterType) &&
isOutputRange!(Range, char)
||
isOutputRange!(Range, wchar)
||
isOutputRange!(Range, dchar)
)

Throws

YAMLException on error (e.g. invalid nodes, unable to write to file/stream).

Meta