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

In This Topic
NullAsUndefined<T> Method
In This Topic
if variant value is undefined it will be converted to null instead During deserialization, the null value will be replaced with the undefiend variant should be usedin in combination with Default coder
Syntax
'Declaration
 
Public Shared Function NullAsUndefined(Of T)( _
   ByVal coder As JsonCoder(Of T) _
) As JsonCoder(Of T)
 

Parameters

coder
The current JsonCoder<T> to encode and decode the value.

Type Parameters

T
A type of the value.

Return Value

A JsonCoder<T> with the default value handling.
See Also