I'm migrating from Newtonsoft.Json to System.Text.Json in my .NET Core 3.0 application.
How do I get have the same behaviour with System.Text.Json as I have in my .NET Core 2.2 app with Newtonsoft.Json configured with DefaultValueHandling = DefaultValueHandling.Ignore? You can find the DefaultValueHandling option described here.