blob: 8ed9b3223e15fc682d6d2b7bfce65374ddf04795 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# System.Text.Json.Serialization
``` diff
namespace System.Text.Json.Serialization {
+ public sealed class JsonRequiredAttribute : JsonAttribute {
+ public JsonRequiredAttribute();
+ }
- [RequiresDynamicCodeAttribute("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
- public class JsonStringEnumConverter : JsonConverterFactory
+ [RequiresDynamicCodeAttribute("JsonStringEnumConverter cannot be statically analyzed and requires runtime code generation. Consider authoring a custom converter that is not a factory to work around the issue. See https://github.com/dotnet/runtime/issues/73124.")]
+ public class JsonStringEnumConverter : JsonConverterFactory
}
```
|