System.Text.Json TimeSpan serialization
Part of the series: Fun with System.Text.Json I was working on porting some code to .NET Core that has a batch process running at a configurable time of day. Naturally, the time is configurable, so I put a TimeSpan on my options object and added a string time in my JSON settings “02:00:00” for 2am […]