Enum TokenType | Serialization | 1.2.0-preview
docs.unity.cn
    Show / Hide Table of Contents

    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
    Array

    The token holds a reference to all characters between array characters '['..']'.

    @NOTE This includes the "begin" and "end" array characters.

    Comment

    The token holds a reference to all characters of a comment block.

    Object

    The token holds a reference to all characters between object characters '{'..'}'.

    @NOTE This includes the "begin" and "end" object characters.

    Primitive

    Holds a reference to characters that represent any value that does not fit into the above categories.

    String

    The token holds a reference to all characters between string characters '"'..'"'.

    Undefined

    Unknown token type. Usually this means the token is not initialized.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX