✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
var d = DateOnly.FromDateTime(DateTime.Today);
var json = JsonSerializer.Serialize(d);
System.Console.WriteLine(json);