Show / Hide Table of Contents

Method WriteArray

| Improve this Doc View Source

WriteArray<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

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest