Struct JsonWriter.ObjectScope
Disposable struct to manage opening and closing object scopes.
Implements
Inherited Members
Namespace: Unity.Serialization.Json
Assembly: Unity.Serialization.dll
Syntax
public struct JsonWriter.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()