I had a problem with an API that had time type variables, I connect to a database with a Time field and of course the JSON returns something like "HoraTimeSpan": { "ticks": 0, "days": 0, "hours ": 0, "milliseconds": 0, "minutes": 0, "seconds": 0, "totalDays": 0, "totalHours": 0, "totalMilliseconds": 0, "totalMinutes": 0, "totalSeconds": 0 },
When I want to assign it to a TimeSpan, or use it, it displays the serialization error, at least it happened to me in 3.x and 5 Core, so how can I correct the problem?