Class RFC3339DateTimeConverter
A JSON converter which honers RFC 3339 and the serialized date is accepted by Google services.
Inheritance
System.Object
Newtonsoft.Json.JsonConverter
RFC3339DateTimeConverter
Inherited Members
Newtonsoft.Json.JsonConverter.CanWrite
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Json
Assembly: Google.Apis.Core.dll
Syntax
public class RFC3339DateTimeConverter : JsonConverter
Properties
CanRead
Declaration
public override bool CanRead { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Newtonsoft.Json.JsonConverter.CanRead
Methods
CanConvert(Type)
Declaration
public override bool CanConvert(Type objectType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | objectType |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Newtonsoft.Json.JsonConverter.CanConvert(System.Type)
ReadJson(JsonReader, Type, Object, JsonSerializer)
Declaration
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
Newtonsoft.Json.JsonReader | reader | |
System.Type | objectType | |
System.Object | existingValue | |
Newtonsoft.Json.JsonSerializer | serializer |
Returns
Type | Description |
---|---|
System.Object |
Overrides
Newtonsoft.Json.JsonConverter.ReadJson(Newtonsoft.Json.JsonReader, System.Type, System.Object, Newtonsoft.Json.JsonSerializer)
WriteJson(JsonWriter, Object, JsonSerializer)
Declaration
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
Newtonsoft.Json.JsonWriter | writer | |
System.Object | value | |
Newtonsoft.Json.JsonSerializer | serializer |
Overrides
Newtonsoft.Json.JsonConverter.WriteJson(Newtonsoft.Json.JsonWriter, System.Object, Newtonsoft.Json.JsonSerializer)