Closed symbiogenesis closed 6 months ago
My discoveries were:
The ContractResolverTests from Newtonsoft.Json expected DefaultValueAttribute
to be respected.
However, DefaultValueAttribute
is not technically part of the DataContract concept, nor is it respected by System.Text.Json
But it effectively is used that way, I think. Something to think about.
The IgnoreIsSpecifiedMembers
feature doesn't seem supported.
Don't think RequiredAttribute
is being handled correctly. Opened #61
@zcsizmadia
Thanks for the PR!
This pulls in and ports the Newtonsoft.Json tests and converts the existing tests to XUnit.
Fixes #59