Provides the System.DateTimeOffset converter of the Newtonsoft.Json.JsonSerializer.
More...
|
| override bool | CanConvert (Type objectType) |
| | Returns whether this converter can convert the object to the specified type. More...
|
| |
| override object | ReadJson (JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) |
| | Reads the JSON representation of the object. More...
|
| |
| override void | WriteJson (JsonWriter writer, object value, JsonSerializer serializer) |
| | Writes the JSON representation of the object. More...
|
| |
Provides the System.DateTimeOffset converter of the Newtonsoft.Json.JsonSerializer.
◆ CanConvert()
| override bool CoreTweet.Core.DateTimeOffsetConverter.CanConvert |
( |
Type |
objectType | ) |
|
|
inline |
Returns whether this converter can convert the object to the specified type.
- Parameters
-
| objectType | A System.Type that represents the type you want to convert to. |
- Returns
true if this converter can perform the conversion; otherwise, false.
◆ ReadJson()
| override object CoreTweet.Core.DateTimeOffsetConverter.ReadJson |
( |
JsonReader |
reader, |
|
|
Type |
objectType, |
|
|
object |
existingValue, |
|
|
JsonSerializer |
serializer |
|
) |
| |
|
inline |
Reads the JSON representation of the object.
- Parameters
-
| reader | The Newtonsoft.Json.JsonReader to read from. |
| objectType | The System.Type of the object. |
| existingValue | The existing value of object being read. |
| serializer | The calling serializer. |
- Returns
- The object value.
◆ WriteJson()
| override void CoreTweet.Core.DateTimeOffsetConverter.WriteJson |
( |
JsonWriter |
writer, |
|
|
object |
value, |
|
|
JsonSerializer |
serializer |
|
) |
| |
|
inline |
Writes the JSON representation of the object.
- Parameters
-
| writer | The Newtonsoft.Json.JsonWriter to write to. |
| value | The value. |
| serializer | The calling serializer. |
The documentation for this class was generated from the following file: