using NodaTime.Serialization.SystemTextJson;
public static void Main()
var options = new JsonSerializerOptions().ConfigureForNodaTime(DateTimeZoneProviders.Tzdb);
var serializedDate = JsonSerializer.Serialize(new LocalDate(2021,01,01), options);
Console.WriteLine(serializedDate);