Skip to content

Utf8JsonReader.HasValueSequence Property

Definition

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

HasValueSequence()

Lets the caller know which of the two 'Value' properties to read to get the token value. For input data within a ReadOnlySpan this will always return false. For input data within a ReadOnlySequence, this will only return true if the token value straddles more than a single segment and hence couldn't be represented as a span.

public bool HasValueSequence { get; set; }

Returns

bool

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