YamlSerializationParams

YAML Serialization Params

Members

Variables

canonical
bool canonical;

Write scalars in canonical form?

defaultCollectionStyle
YamlCollectionStyle defaultCollectionStyle;

Default style for collection nodes. If style is YamlCollectionStyle.none, the _style is chosen automatically.

defaultScalarStyle
YamlScalarStyle defaultScalarStyle;

Default style for scalar nodes. If style is YamlScalarStyle.none, the _style is chosen automatically.

explicitEnd
bool explicitEnd;

Always explicitly write document end? Default is no explicit end.

explicitStart
bool explicitStart;

Always explicitly write document start? Default is no explicit start.

indent
ubyte indent;

Indentation width

textWidth
uint textWidth;

Preferred text width.

yamlVersion
string yamlVersion;

YAML version string. Default value is null.

Meta