Skip to content

Commit 96ea36d

Browse files
authored
Fix JSON ignore conditions (#8416)
1 parent 674fb54 commit 96ea36d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xml/System.Text.Json.Serialization/JsonIgnoreCondition.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</ReturnValue>
3939
<MemberValue>1</MemberValue>
4040
<Docs>
41-
<summary>Property will always be ignored.</summary>
41+
<summary>Property is always ignored.</summary>
4242
<remarks>To be added.</remarks>
4343
</Docs>
4444
</Member>
@@ -61,7 +61,7 @@
6161
</ReturnValue>
6262
<MemberValue>0</MemberValue>
6363
<Docs>
64-
<summary>Property will always be serialized and deserialized, regardless of <see cref="P:System.Text.Json.JsonSerializerOptions.IgnoreNullValues" /> configuration.</summary>
64+
<summary>Property is always serialized and deserialized, regardless of <see cref="P:System.Text.Json.JsonSerializerOptions.IgnoreNullValues" /> configuration.</summary>
6565
<remarks>To be added.</remarks>
6666
</Docs>
6767
</Member>
@@ -84,7 +84,7 @@
8484
</ReturnValue>
8585
<MemberValue>2</MemberValue>
8686
<Docs>
87-
<summary>Property will only be ignored if it is <see langword="null" />.</summary>
87+
<summary>Property is ignored only if it equals the <see href=" https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/default-values">default value</see> for its type.</summary>
8888
<remarks>To be added.</remarks>
8989
</Docs>
9090
</Member>
@@ -107,7 +107,7 @@
107107
</ReturnValue>
108108
<MemberValue>3</MemberValue>
109109
<Docs>
110-
<summary>If the value is <see langword="null" />, the property is ignored during serialization. This is applied only to reference-type properties and fields.</summary>
110+
<summary>Property is ignored if its value is <see langword="null" />. This is applied only to reference-type properties and fields.</summary>
111111
<remarks>To be added.</remarks>
112112
</Docs>
113113
</Member>

0 commit comments

Comments
 (0)