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/JsonIgnoreCondition.xml
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
<BaseTypeName>System.Enum</BaseTypeName>
14
14
</Base>
15
15
<Docs>
16
-
<summary>To be added.</summary>
16
+
<summary>Controls how the <seecref="T:System.Text.Json.Serialization.JsonIgnoreAttribute" /> ignores properties on serialization and deserialization.</summary>
17
17
<remarks>To be added.</remarks>
18
18
</Docs>
19
19
<Members>
@@ -34,7 +34,8 @@
34
34
</ReturnValue>
35
35
<MemberValue>1</MemberValue>
36
36
<Docs>
37
-
<summary>To be added.</summary>
37
+
<summary>Property will always be ignored.</summary>
38
+
<remarks>To be added.</remarks>
38
39
</Docs>
39
40
</Member>
40
41
<MemberMemberName="Never">
@@ -54,7 +55,8 @@
54
55
</ReturnValue>
55
56
<MemberValue>0</MemberValue>
56
57
<Docs>
57
-
<summary>To be added.</summary>
58
+
<summary>Property will always be serialized and deserialized, regardless of <seecref="P:System.Text.Json.JsonSerializerOptions.IgnoreNullValues" /> configuration.</summary>
59
+
<remarks>To be added.</remarks>
58
60
</Docs>
59
61
</Member>
60
62
<MemberMemberName="WhenWritingDefault">
@@ -74,7 +76,8 @@
74
76
</ReturnValue>
75
77
<MemberValue>2</MemberValue>
76
78
<Docs>
77
-
<summary>To be added.</summary>
79
+
<summary>Property will only be ignored if it is <seelangword="null" />.</summary>
Copy file name to clipboardExpand all lines: xml/System.Text.Json.Serialization/JsonIncludeAttribute.xml
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,17 @@
20
20
</Attribute>
21
21
</Attributes>
22
22
<Docs>
23
-
<summary>To be added.</summary>
24
-
<remarks>To be added.</remarks>
23
+
<summary>Indicates that the member should be included for serialization and deserialization.</summary>
24
+
<remarks>
25
+
<formattype="text/markdown"><![CDATA[
26
+
27
+
## Remarks
28
+
29
+
When applied to a property, indicates that non-public getters and setters can be used for serialization and deserialization. Non-public properties are not supported.
30
+
31
+
]]></format>
32
+
</remarks>
33
+
<exceptioncref="T:System.InvalidOperationException">The attribute is applied to a non-public property.</exception>
25
34
</Docs>
26
35
<Members>
27
36
<MemberMemberName=".ctor">
@@ -37,7 +46,7 @@
37
46
</AssemblyInfo>
38
47
<Parameters />
39
48
<Docs>
40
-
<summary>To be added.</summary>
49
+
<summary>Initializes a new instance of <seecref="T:System.Text.Json.Serialization.JsonIncludeAttribute" />.</summary>
Copy file name to clipboardExpand all lines: xml/System.Text.Json/JsonElement+ArrayEnumerator.xml
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -260,7 +260,15 @@ This member is an explicit interface member implementation. It can be used only
260
260
<Docs>
261
261
<summary>Gets the element in the collection at the current position of the enumerator.</summary>
262
262
<value>The element in the collection at the current position of the enumerator.</value>
263
-
<remarks>To be added.</remarks>
263
+
<remarks>
264
+
<formattype="text/markdown"><![CDATA[
265
+
266
+
## Remarks
267
+
268
+
This member is an explicit interface member implementation. It can be used only when the <xref:System.Text.Json.JsonElement.ArrayEnumerator> instance is cast to an <xref:System.Collections.IEnumerator> interface.
Copy file name to clipboardExpand all lines: xml/System.Text.Json/JsonElement+ObjectEnumerator.xml
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -264,7 +264,15 @@ This member is an explicit interface member implementation. It can be used only
264
264
<Docs>
265
265
<summary>Gets the element in the collection at the current position of the enumerator.</summary>
266
266
<value>The element in the collection at the current position of the enumerator.</value>
267
-
<remarks>To be added.</remarks>
267
+
<remarks>
268
+
<formattype="text/markdown"><![CDATA[
269
+
270
+
## Remarks
271
+
272
+
This member is an explicit interface member implementation. It can be used only when the <xref:System.Text.Json.JsonElement.ObjectEnumerator> instance is cast to an <xref:System.Collections.IEnumerator> interface.
Copy file name to clipboardExpand all lines: xml/System.Text.Json/JsonSerializer.xml
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -482,6 +482,8 @@ For more information, see [How to serialize and deserialize JSON](/dotnet/standa
482
482
483
483
There is remaining data in the stream.</exception>
484
484
<exceptioncref="T:System.NotSupportedException">There is no compatible <seecref="System.Text.Json.Serialization.JsonConverter" /> for <typeparamrefname="TValue" /> or its serializable members.</exception>
Copy file name to clipboardExpand all lines: xml/System.Text.Json/Utf8JsonReader.xml
+19-3Lines changed: 19 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -350,7 +350,15 @@ The JSON token value represents a number less than <see cref="F:System.Byte.MinV
350
350
<returns>The byte array that represents the current JSON token value.</returns>
351
351
<remarks>To be added.</remarks>
352
352
<exceptioncref="T:System.InvalidOperationException">The type of the JSON token is not a <seecref="F:System.Text.Json.JsonTokenType.String" />.</exception>
353
-
<exceptioncref="T:System.FormatException">The value is not encoded as Base64 text, so it can't be decoded to bytes.</exception>
353
+
<exceptioncref="T:System.FormatException">The value is not encoded as Base64 text, so it can't be decoded to bytes.
354
+
355
+
-or-
356
+
357
+
The value contains invalid or more than two padding characters.
358
+
359
+
-or-
360
+
361
+
The value is incomplete. That is, the JSON string length is not a multiple of 4.</exception>
0 commit comments