Decorate classes with attributes and serialize object arrays into a concrete classes.
PM> Package-Install SirJosh3917.Decorator
dotnet add package SirJosh3917.Decorator
This is what you're probably here for.
To see examples, tutorial usage, etc., go to the appropriate repo.
This was the repo on the final commit of the pre 2.0.x Decorator series.
This was the repo on the final commit of the 1.x.x Decorator series.