Welcome to mirror list, hosted at ThFree Co, Russian Federation.

7.0-rc1_System.Text.Json.Serialization.md « Microsoft.NETCore.App « rc1 « api-diff « preview « 7.0 « release-notes - github.com/dotnet/core.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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
 }
```