YamlEvent.Value Property
Definition
Namespace: Corvus.Yaml
Assembly: Corvus.Text.Json.dll
Value()
Gets the scalar value or alias anchor name as raw UTF-8 bytes.
public ReadOnlySpan<byte> Value { get; }
Returns
Remarks
For Scalar events, this contains the processed scalar value (escape sequences resolved, folding applied). For Alias events, this contains the anchor name (without the leading *). For all other event types, this is empty.
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