Enum
YamlSchema
OfficeIMO.Yaml
The rules that resolve untagged plain scalars to null, boolean, integer or floating-point values.
Inheritance
- Enum
- YamlSchema
Usage
Explore 8 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 8
- Property YamlDocumentPart.Schema
- Property YamlLoadOptions.Schema
- Property YamlReader.Schema
- Property YamlReaderOptions.Schema
- Field YamlSchema.Core
- Field YamlSchema.Failsafe
- Field YamlSchema.Json
- Field YamlSchema.Yaml11
Inherited Methods
ToString 4 overloads
public string ToString(IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const YamlSchema Json #YAML 1.2 JSON schema: only JSON spellings (null, true, false, JSON numbers) resolve.
Value:
1public const YamlSchema Core #YAML 1.2 core schema, the default: JSON plus ~, empty nulls, case variants, 0o/0x integers and .inf/.nan.
Value:
2public const YamlSchema Yaml11 #YAML 1.1 types: yes/no/on/off/y/n booleans, 0b and 0-prefixed octal integers, underscores in numbers, sexagesimal numbers (1:20), timestamps and << merge keys.
Value:
3