Class RFC3339DateTimeConverter (1.55.0)

public class RFC3339DateTimeConverter : JsonConverter

A JSON converter which honers RFC 3339 and the serialized date is accepted by Google services.

Inheritance

Object > RFC3339DateTimeConverter

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(Newtonsoft.Json.JsonReader, Type, Object, JsonSerializer)

public override object ReadJson(Newtonsoft.Json.JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
NameDescription
readerNewtonsoft.Json.JsonReader
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