Skip to content

JsonReaderOptions.AllowMultipleValues Property

Definition

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

AllowMultipleValues()

Defines whether the Utf8JsonReader should tolerate zero or more top-level JSON values that are whitespace separated.

public bool AllowMultipleValues { get; set; }

Returns

bool

Remarks

By default, it's set to false, and a JsonException is thrown if trailing content is encountered after the first top-level JSON value.

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