YamlWriterOptions.Kyaml Field
Definition
Namespace: Corvus.Yaml
Assembly: Corvus.Text.Json.dll
Kyaml()
Gets options that produce KYAML output (a strict subset of YAML 1.2; Kubernetes KEP-5295) with 2-space indentation and structural validation enabled.
YamlWriterOptions Kyaml
Returns
Remarks
KYAML uses explicit { } / [ ] delimiters laid out across indented lines, always double-quotes string values, and writes numbers, booleans, and null bare. The output is always valid YAML 1.2. See Kyaml.
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