'Declaration Public Shared Function Default(Of T)( _ ByVal coder As JsonCoder(Of T), _ ByVal defValue As T _ ) As JsonCoder(Of T)
public static JsonCoder<T> Default<T>( JsonCoder<T> coder, T defValue )
Parameters
- coder
- The current JsonCoder<T> to encode and decode the value.
- defValue
- A default value.
Type Parameters
- T
- A type of the value.
Return Value
A JsonCoder<T> with the default value handling.