 | JsonSerializerSettingsMaxDepth Property |
Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a
JsonReaderException.
A null value means there is no maximum.
The default value is
null.
Namespace:
Newtonsoft.Json
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntaxpublic Nullable<int> MaxDepth { get; set; }
Property Value
Type:
NullableInt32
See Also