C# (CSharp) RiotNet.Converters Namespace

Classes

Name Description
EpochDateTimeConverter Converts a DateTime to and from JSON in epoch milliseconds format. Can also deserialize from a string in ISO format.
GameSubTypeConverter Converts a GameSubType in JSON to a consistent CLR format.
KeyedCollectionConverter Reads and writes KeyedCollections as JSON objects instead of arrays. Any KeyedCollection deserialized by this converter must have a parameterless constructor.
MillisecondsToTimeSpanConverter Converts a TimeSpan to and from a number of seconds in JSON.
PlayerPositionConverter Converts a PlayerPosition in JSON to a consistent CLR format.
RangeConverter Converts a range in JSON to a consistent CLR format.
TolerantIntEnumConverter Converts an enum to and from JSON. If the JSON string value does not exist in the enum, the value is still converted instead of throwing an exception. Values are serialized as numbers.