Serializer

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

Constructors

this
this(Resolver resolver, Flag!"explicitStart" explicitStart, Flag!"explicitEnd" explicitEnd, string YAMLVersion, TagDirective[] tagDirectives)

Construct a Serializer.

Members

Functions

endStream
void endStream(EmitterT emitter)

End the stream.

serialize
void serialize(EmitterT emitter, Node node)

Serialize a node, emitting it in the process.

startStream
void startStream(EmitterT emitter)

Begin the stream.

Meta