Skip to content

YamlEventType

Definition

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

The type of a YAML parse event.

public enum YamlEventType : IComparable, ISpanFormattable, IFormattable, IConvertible

Implements

IComparable, ISpanFormattable, IFormattable, IConvertible

Fields

Field Type Description
StreamStart static YamlEventType Start of the YAML stream.
StreamEnd static YamlEventType End of the YAML stream.
DocumentStart static YamlEventType Start of a YAML document.
DocumentEnd static YamlEventType End of a YAML document.
MappingStart static YamlEventType Start of a mapping (block or flow).
MappingEnd static YamlEventType End of a mapping.
SequenceStart static YamlEventType Start of a sequence (block or flow).
SequenceEnd static YamlEventType End of a sequence.
Scalar static YamlEventType A scalar value.
Alias static YamlEventType An alias reference (*name).

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