'Declaration Public Shared Function CollectionDefNull (Of T,TCollection As {New, Collection(Of T)})( _ ByVal itemCoder As JsonCoder(Of T) _ ) As JsonCoder(Of TCollection)
public static JsonCoder<TCollection> CollectionDefNull<T,TCollection>( JsonCoder<T> itemCoder ) where TCollection: new(), Collection<T>
Parameters
- itemCoder
- A JsonCoder<T> to encode and decode the value.
Type Parameters
- T
- The type of the value.
- TCollection
- The collection of the Collection values.
Return Value
A JsonCoder<T> with the default value handling.