Enum TokenType | Serialization | 1.4.3-preview
docs.unity3d.com
    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023