From Dev.to
Controlling obfuscation with ObfuscationAttribute
Rename everything, and the first type you serialize with System.Text.Json comes back as {"a":1,"b":null} instead of {"Id":1,"Name":null}. The first Type.GetType("MyApp.PluginContract") returns null. T...
