Struct JsonWriter.ArrayScope
Disposable struct to manage opening and closing array scopes.
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()