docs.unity.cn
    Show / Hide Table of Contents

    Struct JsonWriter.ArrayScope

    Disposable struct to manage opening and closing array scopes.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Serialization.Json
    Syntax
    public struct ArrayScope : IDisposable

    Constructors

    ArrayScope(JsonWriter, String)

    Creates a new array scope for the given JsonWriter

    Declaration
    public ArrayScope(JsonWriter writer, string key = null)
    Parameters
    Type Name Description
    JsonWriter writer

    The writer to write to.

    String key

    The key to write.

    Methods

    Dispose()

    Declaration
    public void Dispose()
    Implements
    IDisposable.Dispose()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, May 11, 2023