[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Rdl.Persistence.Json.JsonCoders.List

List Method

List<T>(JsonCoder<T>)

Gets a coder for the IList<T> type.

Declaration
public static JsonCoder<IList<T>> List<T>(JsonCoder<T> itemCoder)
Parameters
Type Name Description
JsonCoder<T> itemCoder

A JsonCoder<T> to encode and decode the value.

Returns
Type Description
JsonCoder<IList<T>>

A JsonCoder<T> with the default value handling.

Type Parameters
Name Description
T

The type of the value.

Exceptions
Type Condition
FormatException

Thrown if the value is not a array.