✅ .NET 8 enum to string serialization throws an exception
Hello,
Following the docs, a custom
The exception:
I have followed the docs:
https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/source-generation#combine-source-generators
https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/source-generation#blanket-policy
Following the docs, a custom
JsonSerializerContext is applied on the controllers, yet an exception is thrown.The exception:
I have followed the docs:
https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/source-generation#combine-source-generators
https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/source-generation#blanket-policy
Learn how to use source generation in System.Text.Json.
