Skip to content

Commit 6aec448

Browse files
author
Ron Petrusha
authored
Update JsonExtensionDataAttribute.xml
1 parent b9f3fb8 commit 6aec448

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

xml/System.Text.Json.Serialization/JsonExtensionDataAttribute.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@
1919
</Attribute>
2020
</Attributes>
2121
<Docs>
22-
<summary>When placed on a property of type <see cref="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 <see cref="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>
2323
<remarks>
2424
<format type="text/markdown">
2525
<![CDATA[
2626
2727
## Remarks
2828
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>.
3030
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>.
3232
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.
3434
3535
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.
3636
@@ -51,10 +51,10 @@ If there is more than one extension property on a type, or it the property is no
5151
<AssemblyVersion>4.0.0.0</AssemblyVersion>
5252
</AssemblyInfo>
5353
<Parameters />
54-
<Docs>
55-
<summary>To be added.</summary>
54+
<Docsd
55+
<summary>Instantiates a new instance of the <see cref="T:System.Text.Json.Serialization.JSonExtensionDataAttribute" /> class.</summary>
5656
<remarks>To be added.</remarks>
5757
</Docs>
5858
</Member>
5959
</Members>
60-
</Type>
60+
</Type>

0 commit comments

Comments
 (0)