Skip to content

YamlScalarStyle

Definition

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

The style of a YAML scalar value.

public enum YamlScalarStyle : IComparable, ISpanFormattable, IFormattable, IConvertible

Implements

IComparable, ISpanFormattable, IFormattable, IConvertible

Fields

Field Type Description
Plain static YamlScalarStyle Plain (unquoted) scalar.
SingleQuoted static YamlScalarStyle Single-quoted scalar ('...').
DoubleQuoted static YamlScalarStyle Double-quoted scalar ("...").
Literal static YamlScalarStyle Literal block scalar (|).
Folded static YamlScalarStyle Folded block scalar (>).

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