YamlTokenType Enum
Definition
Identifies the kind of token surfaced by Utf8YamlReader as it traverses a YAML document in document order.
public enum YamlTokenType
- Extension Methods
Fields
None = 0No token has been read. This is the state before the first read and after the final token.
StartMapping = 1The start of a mapping node. Subsequent tokens alternate property names and values until the end token.
EndMapping = 2The end of a mapping node.
StartSequence = 3The start of a sequence node. Subsequent tokens are its elements until the end token.
EndSequence = 4The end of a sequence node.
PropertyName = 5A mapping key. The key text is available through the reader's string accessor.
Null = 6A null scalar value.
String = 7A string scalar value.
Integer = 8An integer scalar value.
Float = 9A floating-point scalar value.
Boolean = 10A boolean scalar value.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |