Open githubfanster opened 6 years ago
Looks like the behaviour of SS.Text might have changed a little, according to this comment: https://github.com/AnthonyCarl/NodaTime.Serialization.ServiceStackText/blob/dadc41a53c1309a42e804d61d8ebc57b7f18e033/src/NodaTime.Serialization.ServiceStackText/Extensions.cs#L178-L179 That said, it looks like it's working as expected if serialising to JSON.
Hello!
I'm just trying to get a feel for this library. I need some guidance on how to get the marked code below to not throw exception when deserializing null data to a null LocalDate. what might be the easiest workaround?? thank you for helping!
static void NodaTimeModelCsvTest() { //one-time setup to register NodaTime serializers with ServiceStack DateTimeZoneProviders.Tzdb .CreateDefaultSerializersForNodaTime() .ConfigureSerializersForNodaTime();