Skip to content

YamlEvent.Tag Property

Definition

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

Tag()

Gets the tag text as it appears in the source (e.g. !!str, !local, !<tag:yaml.org,2002:str>), or an empty span if no tag is present.

public ReadOnlySpan<byte> Tag { get; }

Returns

ReadOnlySpan<byte>

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