docs.unity3d.com
Search Results for

    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
    Assembly: Unity.Serialization.dll
    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 '{'..'}'.

    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.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)