Redigera

Dela via


Utf8JsonReader.CurrentDepth Property

Definition

Gets the depth of the current token.

public:
 property int CurrentDepth { int get(); };
public int CurrentDepth { get; }
member this.CurrentDepth : int
Public ReadOnly Property CurrentDepth As Integer

Property Value

The depth of the current token.

Remarks

The CurrentDepth property tracks the recursive depth of the nested objects or arrays within the JSON text processed so far.

Applies to