JSON.NET has DefaultValueHandling enumeration, which allows users to determine how the default values are handled during de/serialization.
Similar functionality would be very useful in System.Text.Json, as DefaultValueHandling.Ignore/IgnoreAndPopulate would allow considerable reduction of JSON size in many cases.
JSON.NET has DefaultValueHandling enumeration, which allows users to determine how the default values are handled during de/serialization.
Similar functionality would be very useful in System.Text.Json, as DefaultValueHandling.Ignore/IgnoreAndPopulate would allow considerable reduction of JSON size in many cases.