Serializer

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

Constructors

this
this(ref Emitter emitter, Resolver resolver, Encoding encoding, const Flag!"explicitStart" explicitStart, const Flag!"explicitEnd" explicitEnd, string YAMLVersion, TagDirective[] tagDirectives)

Construct a Serializer.

Destructor

~this
~this()

Destroy the Serializer.

Members

Functions

serialize
void serialize(ref Node node)

Serialize a node, emitting it in the process.

Meta