Skip to content

JsonCommentHandling.Disallow Field

Definition

Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll
Source: JsonCommentHandling.cs

Disallow()

By default, do no allow comments within the JSON input. Comments are treated as invalid JSON if found and a JsonException is thrown.

JsonCommentHandling Disallow

Returns

JsonCommentHandling

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue