Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum System.​Text.​Json.​JsonTokenType

Assembly: System.Text.Json

Defines the various JSON tokens that make up a JSON text.

Values

None
There is no value (as distinct from <see cref="F:System.Text.Json.JsonTokenType.Null" /> ). This is the default token type if no data has been read by the <see cref="T:System.Text.Json.Utf8JsonReader" /> .
StartObject
The token type is the start of a JSON object.
EndObject
The token type is the end of a JSON object.
StartArray
The token type is the start of a JSON array.
EndArray
The token type is the end of a JSON array.
PropertyName
The token type is a JSON property name.
Comment
The token type is a comment string.
String
The token type is a JSON string.
Number
The token type is a JSON number.
True
The token type is the JSON literal true.
False
The token type is the JSON literal false.
Null
The token type is the JSON literal null.