Zum Hauptinhalt springen

YamlDocumentLimit

Namespace: Meshmakers.Octo.Communication.Contracts.Serialization

Which limit of YamlToJsonConverterOptions a document exceeded.

public enum YamlDocumentLimit

Inheritance Object → ValueType → Enum → YamlDocumentLimit
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Fields​

NameValueDescription
Nodes0The document expands to more nodes than YamlToJsonConverterOptions.MaxNodes.
Depth1The document nests deeper than YamlToJsonConverterOptions.MaxDepth.
Alias2An alias refers to an anchor that is not complete at that point: one that contains the alias itself (recursive) or that is defined only after it. Either would let the conversion expand without bound.