MaxDepth Property

Definition

Namespace Tomlyn
Assembly Tomlyn.dll

Gets or sets the maximum depth allowed when reading or writing nested TOML containers.

public int MaxDepth { get; init; }

Returns

Remarks

A value of 0 uses the default maximum depth of 64, mirroring System.Text.Json.