Class ExplicitNullConverter (1.55.0)

public class ExplicitNullConverter : JsonConverter

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

Inheritance

Object > ExplicitNullConverter

Namespace

Google.Apis.Json

Assembly

Google.Apis.Core.dll

Properties

CanRead

public override bool CanRead { get; }
Property Value
TypeDescription
Boolean

Methods

CanConvert(Type)

public override bool CanConvert(Type objectType)
Parameter
NameDescription
objectTypeType
Returns
TypeDescription
Boolean

ReadJson(JsonReader, Type, Object, JsonSerializer)

public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
NameDescription
readerJsonReader
objectTypeType
existingValueObject
serializerJsonSerializer
Returns
TypeDescription
Object

WriteJson(JsonWriter, Object, JsonSerializer)

public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
Parameters
NameDescription
writerJsonWriter
valueObject
serializerJsonSerializer

Extension Method