Rosner, Roland
Results
2
comments of
Rosner, Roland
A custom TimeOnlyConverter solves the issue for simple TimeOnly fields. But if the TimeOnly is a dictionary key, then it does not.
Our workaround: ```csharp public class TimeOnlyKeyedImmutableSortedDictionary : JsonConverter { public override bool CanConvert(Type objectType) { return objectType == typeof(IDictionary) && objectType.GenericTypeArguments[0] == typeof(TimeOnly) && objectType.GenericTypeArguments[1] == typeof(TValue); } public override...