Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

YamlDialect

OfficeIMO.Yaml

Namespace
OfficeIMO.Yaml
Assembly
OfficeIMO.Yaml
Source revision
ba882f6b0d07 with working tree changes
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

Variants of YAML that some producers write and that the specification does not allow. Each one is opt-in, through YamlReaderOptions.Dialect or YamlLoadOptions.Dialect.

Inheritance

  • Enum
  • YamlDialect

Usage

Explore 4 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.

Values

public const YamlDialect Standard #

YAML as the specification defines it, with the leniencies YamlReaderOptions.Strict describes.

Value: 0
public const YamlDialect Unity #

Unity's serialization files (scenes, prefabs, assets, .meta files). Every document uses the YAML 1.1 schema unless YamlReaderOptions.Schema is set; a document without %TAG directives uses the directives of the document before it, so !u! tags resolve after the first document; and the word stripped after a document's anchor on its --- line marks the object as a prefab placeholder (YamlReader.IsStripped, YamlDocumentPart.IsStripped) instead of failing the read.

Value: 1