[]
Gets a coder for the Collection<T> type.
public static JsonCoder<TCollection> Collection<T, TCollection>(JsonCoder<T> itemCoder) where TCollection : Collection<T>, new()
Type | Name | Description |
---|---|---|
JsonCoder<T> | itemCoder | A JsonCoder<T> to encode and decode the value. |
Type | Description |
---|---|
JsonCoder<TCollection> | A JsonCoder<T> with the default value handling. |
Name | Description |
---|---|
T | The type of the value. |
TCollection | The collection of the Collection<T> values. |
Type | Condition |
---|---|
FormatException | Thrown if the value is not a |