Enum TokenType
The TokenType is used to describe the high level structure of a data tree.
Namespace: Unity.Serialization.Json
Syntax
public enum TokenType
Fields
Name | Description | Value |
---|---|---|
Undefined | Unknown token type. Usually this means the token is not initialized. |
0 |
Object | The token holds a reference to all characters between object characters '{'..'}'. @NOTE This includes the "begin" and "end" object characters. |
1 |
Array | The token holds a reference to all characters between array characters '['..']'. @NOTE This includes the "begin" and "end" array characters. |
2 |
String | The token holds a reference to all characters between string characters '"'..'"'. |
3 |
Primitive | Holds a reference to characters that represent any value that does not fit into the above categories. |
4 |
Comment | The token holds a reference to all characters of a comment block. |
5 |