docs.unity.cn
    Show / Hide Table of Contents

    Enum NodeType

    Step instructions for the high-level reader API.

    This is used as input to control the parser.

    Namespace: Unity.Serialization.Json
    Syntax
    [Flags]
    public enum NodeType

    Fields

    Name Description Value
    Any

    Any node type.


    -1
    None

    Continue reading until there are no more characters.


    0
    BeginObject

    Start of an object.


    1
    ObjectKey

    Start of a new member.


    2
    EndObject

    End of an object.


    4
    BeginArray

    Start of an array/collection.


    8
    EndArray

    End of an array/collection.


    16
    String

    End of a string.


    32
    Primitive

    End of a primitive (number, boolean, nan, etc.).


    64
    Comment

    End of a comment.


    128
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, May 11, 2023