Top 20 NuGet polymorphism Packages
Adds System.Text.Json serializer support for polymorphism with a discriminator attribute.
Bind classes to interfaces, enabling more polymorphic inheritence and extensability of code you don't own, or making using legacy code slightly more enjoyable.
A serializer that supports polymorphism, constructor injection, circular references and linking to external documents.
RoyalXml is a simple, highly customizable XML serializer for .NET. Though it can be configured in almost any way, the default serialization ruleset supports polymorphism, multidimensional arrays, and collections.