Method WriteArray
| Improve this Doc View SourceWriteArray<T>(IEnumerable<T>, Action<JsonWriter, T>)
Writes array of objects.
Declaration
public JsonWriter WriteArray<T>(IEnumerable<T> array, Action<JsonWriter, T> writeItemAction)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<T> | array | The array. |
| System.Action<JsonWriter, T> | writeItemAction | Delegate to write array item. |
Returns
| Type | Description |
|---|---|
| JsonWriter | This JsonWriter for fluent coding. |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the array |