Redigeeri

Jagamisviis:


Utf8JsonReader.TokenStartIndex Property

Definition

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

public:
 property long TokenStartIndex { long get(); };
public long TokenStartIndex { get; }
member this.TokenStartIndex : int64
Public ReadOnly Property TokenStartIndex As Long

Property Value

The starting index of the last processed JSON token within the given UTF-8 encoded input text.

Remarks

For JSON strings (including property names), this value points to before the start quote.

For comments, this value points to before the first comment delimiter (that is, '/'). This is only applicable when the reader is constructed using the JsonCommentHandling.Allow option.

Applies to