Share via

Utf8JsonReader.Skip Method


Skips the children of the current JSON token.

 void Skip();
public void Skip ();
member this.Skip : unit -> unit
Public Sub Skip ()


The reader was given partial data with more data to follow (that is, IsFinalBlock is false).

An invalid JSON token was encountered while skipping, according to the JSON RFC.


The current depth exceeds the recursive limit set by the maximum depth.


When TokenType is JsonTokenType.PropertyName, the reader first moves to the property value.

When TokenType (originally, or after advancing) is StartObject or JsonTokenType.StartArray, the reader advances to the matching JsonTokenType.EndObject or JsonTokenType.EndArray.

For all other token types, the reader does not move. After the next call to Read(), the reader will be at the next value (when in an array), the next property name (when in an object), or the end array/object token.

Applies to