dyaml.serializer

YAML serializer. Code based on PyYAML: http://www.pyyaml.org

struct Serializer

Types 1

Serializes represented YAML nodes, generating events which are then emitted by Emitter.

Methods
void startStream(EmitterT)(ref EmitterT emitter) @safeBegin the stream.
void endStream(EmitterT)(ref EmitterT emitter) @safeEnd the stream.
void serialize(EmitterT)(ref EmitterT emitter, ref Node node) @safeSerialize a node, emitting it in the process.
Constructors
this(Resolver resolver, const Flag!"explicitStart" explicitStart, const Flag!"explicitEnd" explicitEnd, string YAMLVersion, TagDirective[] tagDirectives)Construct a Serializer.