MaxDepth Property

Definition

Namespace SharpYaml
Assembly SharpYaml.dll

Gets or sets the maximum allowed nesting depth for YAML mappings and sequences during serialization and deserialization.

public int MaxDepth { get; init; }

Returns

Remarks

A value of 0 uses the default limit of 64.