Utf8JsonReader.Skip Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Skips the children of the current JSON token.
public:
void Skip();
public void Skip ();
member this.Skip : unit -> unit
Public Sub Skip ()
Exceptions
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.
-or-
The current depth exceeds the recursive limit set by the maximum depth.
Remarks
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기