Class ExplicitNullConverter

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
TypeNameDescription
TypeobjectType
Returns
TypeDescription
Boolean

ReadJson(JsonReader, Type, Object, JsonSerializer)

public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
TypeNameDescription
JsonReaderreader
TypeobjectType
ObjectexistingValue
JsonSerializerserializer
Returns
TypeDescription
Object

WriteJson(JsonWriter, Object, JsonSerializer)

public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
Parameters
TypeNameDescription
JsonWriterwriter
Objectvalue
JsonSerializerserializer

Extension Method