JamesNK / Newtonsoft.Json

Json.NET is a popular high-performance JSON framework for .NET
https://www.newtonsoft.com/json
MIT License
10.73k stars 3.25k forks source link

Attempt to deserialise as DateOnly if DateTime fails #2833

Closed ghost closed 4 months ago

ghost commented 1 year ago

Close #2831

The xml node changes was because 2 tests were failing due to DateOnly not implementing IConvertible and the existing implementation made it parse as a string regardless. There are no XmlConvert for DateOnly.