Class RFC3339DateTimeConverter (1.60.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

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(Newtonsoft.Json.JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
Name Description
reader Newtonsoft.Json.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