.NET 6 TWIL: Serializing DateOnly and TimeOnly with System.Text.Json This week I learned that serializing and deserialzing the new structs included with .NET 6, DateOnly and TimeOnly, is not supported by System.Text.Json.JsonSerializer. You´ll need to write custom converters