Open
Description
The setter of JsonSerializerSettings.DateFormatString
has a hidden side effect: It sets a field telling the writer (through the serializer) whether the property has been set - even if setting the property to null:
So when using AddNewtonsoftJson and setting DateFormatHandling = DateFormatHandling.MicrosoftDateFormat
it will not be used by the serializer, because ShallowCopy sets DateFormatString (which takes precedence over DateFormatHandling) and thus triggers the above behavior: