Struct JsonWriter.ObjectScope | Serialization | 1.6.2-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Struct JsonWriter.ObjectScope

    Disposable struct to manage opening and closing object scopes.

    Namespace: Unity.Serialization.Json
    Syntax
    public struct ObjectScope : IDisposable

    Constructors

    ObjectScope(JsonWriter, String)

    Creates a new object scope for the given JsonWriter

    Declaration
    public ObjectScope(JsonWriter writer, string key)
    Parameters
    Type Name Description
    JsonWriter writer

    The writer to write to.

    String key

    The key to write.

    Methods

    Dispose()

    Declaration
    public void Dispose()
    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