[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Rdl.Persistence.Json.JsonCoders.NullAsUndefined

NullAsUndefined Method

NullAsUndefined<T>(JsonCoder<T>)

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

Declaration
public static JsonCoder<T> NullAsUndefined<T>(this JsonCoder<T> coder)
Parameters
Type Name Description
JsonCoder<T> coder

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

Returns
Type Description
JsonCoder<T>

A JsonCoder<T> with the default value handling.

Type Parameters
Name Description
T

A type of the value.