warning-explosive / Core

Framework for the core domain development
MIT License
1 stars 0 forks source link

Migrate to System.Text.Json #217

Open warning-explosive opened 1 year ago

warning-explosive commented 1 year ago

https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/migrate-from-newtonsoft https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/converters-how-to?pivots=dotnet-7-0#support-polymorphic-deserialization https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/polymorphism?pivots=dotnet-7-0#configure-polymorphism-with-the-contract-model

warning-explosive commented 1 year ago

ensure enum to string serialaization - https://devblogs.microsoft.com/dotnet/system-text-json-in-dotnet-8/

warning-explosive commented 1 year ago

look for source generators - https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/source-generation