Closed bartelink closed 4 years ago
@ylibrach any insights much appreciated ;)
Hm; conditional serialization is not a thing in System.Text.Json v 4.7; there's no reasonable way to implement such a special case
Also, going down the rathole has removed any desire I have to special case it - I've simply noted that Some null
is not a roundtrippable value.
Some null
renders asnull
atm; as evidenced by the diffs, removing that wart makes for less special cases in tests re #38