Converts a DateTime to and from JSON in epoch milliseconds format. Can also deserialize from a string in ISO format.
More...
|
| override object | ReadJson (JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) |
| | Reads the JSON representation of the date. More...
|
| |
| override void | WriteJson (JsonWriter writer, object value, JsonSerializer serializer) |
| | Writes the JSON representation of the date. More...
|
| |
Converts a DateTime to and from JSON in epoch milliseconds format. Can also deserialize from a string in ISO format.
| override object RiotNet.Converters.EpochDateTimeConverter.ReadJson |
( |
JsonReader |
reader, |
|
|
Type |
objectType, |
|
|
object |
existingValue, |
|
|
JsonSerializer |
serializer |
|
) |
| |
|
inline |
Reads the JSON representation of the date.
- Parameters
-
| reader | The JsonReader to read from. |
| objectType | Type of the object. |
| existingValue | The existing value of object being read. |
| serializer | The calling serializer. |
- Returns
- The object value.
| override void RiotNet.Converters.EpochDateTimeConverter.WriteJson |
( |
JsonWriter |
writer, |
|
|
object |
value, |
|
|
JsonSerializer |
serializer |
|
) |
| |
|
inline |
Writes the JSON representation of the date.
- Parameters
-
| writer | The JsonWriter to write to. |
| value | The date to write. |
| serializer | The calling serializer. |
The documentation for this class was generated from the following file:
- Converters/EpochDateTimeConverter.cs