You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Text.Json.Serialization/JsonExtensionDataAttribute.xml
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -19,18 +19,18 @@
19
19
</Attribute>
20
20
</Attributes>
21
21
<Docs>
22
-
<summary>When placed on a property of type <seecref="T:System.Collections.Generic.IDictionary`2" />, any properties that do not have a matching member are added to that Dictionary during deserialization and written during serialization.</summary>
22
+
<summary>When placed on a property of type <seecref="T:System.Collections.Generic.IDictionary`2" />, provides that any properties that do not have a matching member are added to that dictionary during deserialization and written during serialization.</summary>
23
23
<remarks>
24
24
<formattype="text/markdown">
25
25
<![CDATA[
26
26
27
27
## Remarks
28
28
29
-
The TKey value must be <xref:System.String> and TValue must be <xref:System.Text.Json.JsonElement> or <xref:System.Object>.
29
+
The dictionary's `TKey` value must be <xref:System.String>, and `TValue` must be <xref:System.Text.Json.JsonElement> or <xref:System.Object>.
30
30
31
-
During deserializing, when using <xref:System.Object> a "null" JSON value is treated as a `null` object reference, and when using <xref:System.Text.Json.JsonElement> a "null" is treated as a JsonElement with <xref:System.Text.Json.JsonElement.ValueKind> set to <xref:System.Text.Json.JsonValueKind.Null>.
31
+
During deserialization, when using <xref:System.Object>, a "null" JSON value is treated as a `null` object reference, and when using <xref:System.Text.Json.JsonElement>, a "null" is treated as a JsonElement with <xref:System.Text.Json.JsonElement.ValueKind> set to <xref:System.Text.Json.JsonValueKind.Null?displayProperty=nameWithType>.
32
32
33
-
During serializing, the name of the extension data property is not included in the JSON; the data contained within the extension data is serialized as properties of the JSON object.
33
+
During serialization, the name of the extension data property is not included in the JSON; the data contained within the extension data is serialized as properties of the JSON object.
34
34
35
35
If there is more than one extension property on a type, or it the property is not of the correct type, an <xref:System.InvalidOperationException> is thrown during the first serialization or deserialization of that type.
36
36
@@ -51,10 +51,10 @@ If there is more than one extension property on a type, or it the property is no
51
51
<AssemblyVersion>4.0.0.0</AssemblyVersion>
52
52
</AssemblyInfo>
53
53
<Parameters />
54
-
<Docs>
55
-
<summary>To be added.</summary>
54
+
<Docsd
55
+
<summary>Instantiates a new instance of the <seecref="T:System.Text.Json.Serialization.JSonExtensionDataAttribute" /> class.</summary>
0 commit comments