Serializer.this

Construct a Serializer.

struct Serializer
this
@trusted
(
,,
Encoding encoding
,
const Flag!"explicitStart" explicitStart
,
const Flag!"explicitEnd" explicitEnd
,,
)

Parameters

resolver
Type: Resolver

Resolver used to determine which tags are automaticaly resolvable.

encoding
Type: Encoding

Character encoding to use.

explicitStart
Type: Flag!"explicitStart"

Do all document starts have to be specified explicitly?

explicitEnd
Type: Flag!"explicitEnd"

Do all document ends have to be specified explicitly?

YAMLVersion
Type: string

YAML version string.

tagDirectives
Type: TagDirective[]

Tag directives to emit.

Meta