-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support System.Text.Json #215
Comments
I found the extension library for System.Text.Json which supports interface deserialization - https://github.com/dahomey-technologies/Dahomey.Json |
Some good news: They plan to extend polymorphic serialization and deserialization: dotnet/runtime#45189 So this feature might become unblocked after .NET 6. |
Hello. I have models generated by the model generator. I was thinking about source generator that would create the concrete types based on the interfaces, but i would prefer to have some "official" solution for me to be able to serialize and deserialize the models. |
Blockers
Deserialization of interface types is not supported.
- Polymorphic deserialization will be supported in .NET 5Workaround
Motivation
Proposed solution
Additional context
Benchmarks
The text was updated successfully, but these errors were encountered: