Skip to content

YamlCollectionStyle

Definition

Namespace: Corvus.Text.Json.Yaml
Assembly: Corvus.Text.Json.dll

Specifies the serialization style for YAML mappings and sequences.

public enum YamlCollectionStyle : IComparable, ISpanFormattable, IFormattable, IConvertible

Implements

IComparable, ISpanFormattable, IFormattable, IConvertible

Fields

Field Type Description
Block static YamlCollectionStyle Block style (indentation-based, one item per line).
Flow static YamlCollectionStyle Flow style (inline, comma-separated within brackets or braces).

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue