JsonTokenType Enumeração
Definição
Define os vários tokens JSON que compõem um texto JSON.Defines the various JSON tokens that make up a JSON text.
public enum class JsonTokenType
public enum JsonTokenType
type JsonTokenType =
Public Enum JsonTokenType
- Herança
Campos
Comment | 6 | O tipo de token é uma cadeia de caracteres de comentário.The token type is a comment string. |
EndArray | 4 | O tipo de token é o fim de uma matriz JSON.The token type is the end of a JSON array. |
EndObject | 2 | O tipo de token é o fim de um objeto JSON.The token type is the end of a JSON object. |
False | 10 | O tipo de token é o literal JSON false.The token type is the JSON literal false. |
None | 0 | Não há nenhum valor (diferente de Null).There is no value (as distinct from Null). Esse é o tipo de token padrão se nenhum dado tiver sido lido pelo Utf8JsonReader .This is the default token type if no data has been read by the Utf8JsonReader. |
Null | 11 | O tipo de token é o literal JSON null.The token type is the JSON literal null. |
Number | 8 | O tipo de token é um número JSON.The token type is a JSON number. |
PropertyName | 5 | O tipo de token é um nome de propriedade JSON.The token type is a JSON property name. |
StartArray | 3 | O tipo de token é o início de uma matriz JSON.The token type is the start of a JSON array. |
StartObject | 1 | O tipo de token é o início de um objeto JSON.The token type is the start of a JSON object. |
String | 7 | O tipo de token é uma cadeia de caracteres JSON.The token type is a JSON string. |
True | 9 | O tipo de token é o literal JSON true.The token type is the JSON literal true. |
Comentários
Para obter mais informações, consulte como escrever serializadores personalizados e desserializadores com System.Text.Jsem.For more information, see How to write custom serializers and deserializers with System.Text.Json.