nukleer bomb
Serializing a derived class with System.Text.Json
About polymorphic serialization, https://learn.microsoft.com/dotnet/standard/serialization/system-text-json/polymorphism
4 replies
Serializing a derived class with System.Text.Json
You are getting this error not because of JSON serialization, but because covariance and contravariance https://learn.microsoft.com/dotnet/standard/generics/covariance-and-contravariance
4 replies