YamlWriterStyle enum
The output style of Utf8YamlWriter.
Namespace: System.Text.Yaml ยท Assembly: Styml.dll
public enum YamlWriterStyle : byte
The output style of Utf8YamlWriter.
FieldsLink to this heading
| Name | Value | Description |
|---|---|---|
Block |
0 | Block YAML: block mappings and sequences, plain scalars where no YAML 1.1 or 1.2 reader can read them as anything other than the same string, double quotes otherwise, and {} and [] for empty collections. |
JsonCompatible |
1 | JSON, which is also YAML flow: the output of the JSON-compatible writer, with YamlWriterOptions.Indented, YamlWriterOptions.IndentCharacter, YamlWriterOptions.IndentSize and YamlWriterOptions.NewLine applying as they do to YAML. |