Converts a DateTime to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z).
More...
|
override void | WriteJson (Newtonsoft.Json.JsonWriter writer, object value, JsonSerializer serializer) |
| Writes the JSON representation of the object. More...
|
|
override object | ReadJson (Newtonsoft.Json.JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) |
| Reads the JSON representation of the object. More...
|
|
override bool | CanConvert (Type objectType) |
| Determines whether this instance can convert the specified object type. More...
|
|
Converts a DateTime to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z).
◆ CanConvert()
override bool Ext.Net.ISODateTimeJsonConverter.CanConvert |
( |
Type |
objectType | ) |
|
|
inline |
Determines whether this instance can convert the specified object type.
- Parameters
-
objectType | Type of the object. |
- Returns
true
if this instance can convert the specified object type; otherwise, false
.
◆ ReadJson()
override object Ext.Net.ISODateTimeJsonConverter.ReadJson |
( |
Newtonsoft.Json.JsonReader |
reader, |
|
|
Type |
objectType, |
|
|
object |
existingValue, |
|
|
JsonSerializer |
serializer |
|
) |
| |
|
inline |
Reads the JSON representation of the object.
- Parameters
-
reader | The JsonReader to read from. |
objectType | Type of the object. |
existingValue | Existing Value |
serializer | Serializer |
- Returns
- The object value.
◆ WriteJson()
override void Ext.Net.ISODateTimeJsonConverter.WriteJson |
( |
Newtonsoft.Json.JsonWriter |
writer, |
|
|
object |
value, |
|
|
JsonSerializer |
serializer |
|
) |
| |
|
inline |
Writes the JSON representation of the object.
- Parameters
-
writer | The JsonWriter to write to. |
value | The value. |
serializer | Serializer |
◆ DateTimeStyles
DateTimeStyles Ext.Net.ISODateTimeJsonConverter.DateTimeStyles |
|
getset |
Gets or sets the date time styles used when converting a date to and from JSON.
The date time styles used when converting a date to and from JSON.
The documentation for this class was generated from the following file:
- ISODateTimeJsonConverter.cs