YamlSchemaKind enum

The schema that gives plain scalars in value position their type. Keys, quoted and block scalars, and tagged nodes are not affected.

Namespace: System.Text.Yaml ยท Assembly: Styml.dll

public enum YamlSchemaKind

The schema that gives plain scalars in value position their type. Keys, quoted and block scalars, and tagged nodes are not affected.

FieldsLink to this heading

Name Value Description
Core 0 The YAML 1.2 core schema: true/false, null/~, decimal, 0x and 0o integers, floats with .inf and .nan. The default.
Yaml11 1 The core schema plus the YAML 1.1 forms that YamlDotNet or SharpYaml accept: yes/no, on/off, y/n (lower, capitalised or upper case), binary 0b and leading-zero octal (0777) integers, _ digit separators and sexagesimal integers (190:20:30). Where the two schemas disagree (0777), YAML 1.1 wins.
Json 2 The YAML 1.2 JSON schema (section 10.2): only null, true, false and JSON numbers resolve; any other untagged plain scalar, the empty one included, is an error, as the specification says.
Failsafe 3 The YAML 1.2 failsafe schema (section 10.1): every untagged plain scalar, the empty one included, is a string.

Generated from the XML documentation of the libraryBuilt with Douze

Esc to close