Skip to content

Utf8JsonReader.TokenStartIndex Property

Definition

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

TokenStartIndex()

Returns the index that the last processed JSON token starts at within the given UTF-8 encoded input text, skipping any white space.

public long TokenStartIndex { get; set; }

Returns

long

Remarks

For JSON strings (including property names), this points to before the start quote. For comments, this points to before the first comment delimiter (i.e. '/').

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