# System.Text.Json.Serialization

``` diff
 namespace System.Text.Json.Serialization {
+    public enum JsonKnownNamingPolicy {
+        BuiltInCamelCase = 1,
+        Unspecified = 0,
+    }
     public sealed class JsonSerializableAttribute : JsonAttribute {
+        public JsonSourceGenerationMode GenerationMode { get; set; }
     }
     public abstract class JsonSerializerContext {
-        protected JsonSerializerContext(JsonSerializerOptions options);

+        protected JsonSerializerContext(JsonSerializerOptions instanceOptions, JsonSerializerOptions defaultOptions);
     }
+    public class JsonSerializerOptionsAttribute : JsonAttribute {
+        public JsonSerializerOptionsAttribute();
+        public JsonIgnoreCondition DefaultIgnoreCondition { get; set; }
+        public bool IgnoreReadOnlyFields { get; set; }
+        public bool IgnoreReadOnlyProperties { get; set; }
+        public bool IgnoreRuntimeCustomConverters { get; set; }
+        public bool IncludeFields { get; set; }
+        public JsonKnownNamingPolicy NamingPolicy { get; set; }
+        public bool WriteIndented { get; set; }
+    }
+    public enum JsonSourceGenerationMode {
+        Metadata = 1,
+        MetadataAndSerialization = 0,
+        Serialization = 2,
+    }
 }
```

