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