Table of Contents

YamlTokenType Enum

Definition

Namespace
Bodu.Text.Yaml
Assembly
Bodu.Text.Yaml.dll
Package
Bodu.Text.Yaml 1.0.0
Source
YamlTokenType.cs

Identifies the kind of token surfaced by Utf8YamlReader as it traverses a YAML document in document order.

public enum YamlTokenType
Extension Methods

Fields

None = 0

No token has been read. This is the state before the first read and after the final token.

StartMapping = 1

The start of a mapping node. Subsequent tokens alternate property names and values until the end token.

EndMapping = 2

The end of a mapping node.

StartSequence = 3

The start of a sequence node. Subsequent tokens are its elements until the end token.

EndSequence = 4

The end of a sequence node.

PropertyName = 5

A mapping key. The key text is available through the reader's string accessor.

Null = 6

A null scalar value.

String = 7

A string scalar value.

Integer = 8

An integer scalar value.

Float = 9

A floating-point scalar value.

Boolean = 10

A boolean scalar value.

Applies to

ProductVersions
.NET8, 10