JsonTokenType Enum
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.
Defines the various JSON tokens that make up a JSON text.
public enum class JsonTokenType
public enum JsonTokenType
type JsonTokenType =
Public Enum JsonTokenType
- Inheritance
Fields
Comment | 6 | The token type is a comment string. |
EndArray | 4 | The token type is the end of a JSON array. |
EndObject | 2 | The token type is the end of a JSON object. |
False | 10 | The token type is the JSON literal false. |
None | 0 | There is no value (as distinct from Null). This is the default token type if no data has been read by the Utf8JsonReader. |
Null | 11 | The token type is the JSON literal null. |
Number | 8 | The token type is a JSON number. |
PropertyName | 5 | The token type is a JSON property name. |
StartArray | 3 | The token type is the start of a JSON array. |
StartObject | 1 | The token type is the start of a JSON object. |
String | 7 | The token type is a JSON string. |
True | 9 | The token type is the JSON literal true. |
Remarks
For more information, see How to write custom serializers and deserializers with System.Text.Json.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기