JsonTokenType 枚举

定义

定义组成 JSON 文本的各种 JSON 令牌。Defines the various JSON tokens that make up a JSON text.

public enum class JsonTokenType
public enum JsonTokenType
type JsonTokenType = 
Public Enum JsonTokenType
继承
JsonTokenType

字段

Comment 6

令牌类型为注释字符串。The token type is a comment string.

EndArray 4

令牌类型是 JSON 数组的结尾。The token type is the end of a JSON array.

EndObject 2

令牌类型是 JSON 对象的结尾。The token type is the end of a JSON object.

False 10

令牌类型是 JSON 文本 falseThe token type is the JSON literal false.

None 0

没有值(不同于 Null)。There is no value (as distinct from Null).

Null 11

令牌类型是 JSON 文本 nullThe token type is the JSON literal null.

Number 8

令牌类型是 JSON 数字。The token type is a JSON number.

PropertyName 5

令牌类型是 JSON 属性名称。The token type is a JSON property name.

StartArray 3

令牌类型是 JSON 数组的开头。The token type is the start of a JSON array.

StartObject 1

令牌类型是 JSON 对象的开头。The token type is the start of a JSON object.

String 7

令牌类型是 JSON 字符串。The token type is a JSON string.

True 9

令牌类型是 JSON 文本 trueThe token type is the JSON literal true.

注解

有关详细信息,请参阅如何序列化和反序列化 JSONFor more information, see How to serialize and deserialize JSON.

适用于