MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.Core.Rdl.Persistence.Json Namespace / JsonCoders Class / ListDefEmpty<T> Method
The type of the value.
A JsonCoder<T> to encode and decode the value.

ListDefEmpty<T> Method
Gets a coder for the IList type with a default value of empty list.
Syntax
'Declaration
 
Public Shared Function ListDefEmpty(Of T)( _
   ByVal itemCoder As JsonCoder(Of T) _
) As JsonCoder(Of IList(Of T))
 

Parameters

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

Type Parameters

T
The type of the value.

Return Value

A JsonCoder<T> with the default value handling.
Exceptions
ExceptionDescription
Thrown if the value is not a array.
See Also