Class ExplicitNullConverter (1.60.0)

public class ExplicitNullConverter : JsonConverter

A JSON converter to write null literals into JSON when explicitly requested.

Inheritance

object > ExplicitNullConverter

Namespace

GoogleApisJson

Assembly

Google.Apis.Core.dll

Properties

CanRead

public override bool CanRead { get; }
Property Value
Type Description
bool

Methods

CanConvert(Type)

public override bool CanConvert(Type objectType)
Parameter
Name Description
objectType Type
Returns
Type Description
bool

ReadJson(JsonReader, Type, object, JsonSerializer)

public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
Name Description
reader JsonReader
objectType Type
existingValue object
serializer JsonSerializer
Returns
Type Description
object

WriteJson(JsonWriter, object, JsonSerializer)

public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
Parameters
Name Description
writer JsonWriter
value object
serializer JsonSerializer

Extension Method