Questions tagged [.net-core-3.1]
Please utilize this tag for queries pertaining to .NET Core 3.1, the enduringly supported edition of .NET Core 3.0.
Is there a way to create a custom JsonConverter that converts a string to a TimeSpan object only if the string follows the format of "hh:mm:ss"? I have explored creating a custom JsonConverter, but I encountered an issue with the CanConvert() method as it ...