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/JsonReaderOptions.xml
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -34,15 +34,15 @@
34
34
<ReturnType>System.Boolean</ReturnType>
35
35
</ReturnValue>
36
36
<Docs>
37
-
<summary>Defines whether an extra comma at the end of a list of JSON values in an object or array is allowed (and ignored) within the JSON payload being read. By default, it's set to false, and a <exceptioncref="T:System.Text.Json.JsonException" /> is thrown if a trailing comma is encountered.</summary>
38
-
<value>To be added.</value>
37
+
<summary>Gets or sets a value that defines whether an extra comma at the end of a list of JSON values in an object or array is allowed (and ignored) within the JSON payload being read. </summary>
38
+
<value><seelangword="true" /> if an exra comma is allowed; otherwise, <seelangword="false" />.</value>
39
39
<remarks>
40
40
<formattype="text/markdown">
41
41
<![CDATA[
42
42
43
43
## Remarks
44
44
45
-
By default, it's set to `false`, and <exception cref="T:System.Text.Json.JsonException> is thrown if a trailing comma is encountered.
45
+
By default, this property is set to `false`, and a <xref:System.Text.Json.JsonException> is thrown if a trailing comma is encountered.
46
46
47
47
]]>
48
48
</format>
@@ -65,7 +65,7 @@ By default, it's set to `false`, and <exception cref="T:System.Text.Json.JsonExc
<summary>Gets or sets how the <seecref="T:System.Text.Json.Utf8JsonReader" /> struct handles comments when reading through the JSON data.</summary>
68
+
<summary>Gets or sets a value that determines how the <seecref="T:System.Text.Json.Utf8JsonReader" /> handles comments when reading through the JSON data.</summary>
69
69
<value>One of the enumeration values that indicates how comments are handled.</value>
70
70
<remarks>
71
71
<formattype="text/markdown"><![CDATA[
@@ -76,7 +76,7 @@ By default, the reader throws a <xref:System.Text.Json.JsonReaderException> if i
76
76
77
77
]]></format>
78
78
</remarks>
79
-
<exceptioncref="T:System.ArgumentOutOfRangeException">Thrown when the comment handling enum is set to a value that is not supported (i.e. not within the <seecref="T:System.Text.Json.JsonCommentHandling" /> enum range).</exception>
79
+
<exceptioncref="T:System.ArgumentOutOfRangeException">The property is being set to a value that is not a member of the <seecref="T:System.Text.Json.JsonCommentHandling" /> enumeration.</exception>
80
80
</Docs>
81
81
</Member>
82
82
<MemberMemberName="MaxDepth">
@@ -95,8 +95,8 @@ By default, the reader throws a <xref:System.Text.Json.JsonReaderException> if i
95
95
<ReturnType>System.Int32</ReturnType>
96
96
</ReturnValue>
97
97
<Docs>
98
-
<summary>Gets or sets the maximum depth allowed when reading JSON, with the default (i.e. 0) indicating a max depth of 64. Reading past this depth will throw a <exceptioncref="T:System.Text.Json.JsonException" />.</summary>
99
-
<value>To be added.</value>
98
+
<summary>Gets or sets the maximum depth allowed when reading JSON, with the default (i.e. 0) indicating a maximum depth of 64. </summary>
99
+
<value>The maximum depth allowed when reading JSON.</value>
100
100
<remarks>
101
101
<formattype="text/markdown">
102
102
<![CDATA[
@@ -108,8 +108,8 @@ Reading past this depth will throw a <exception cref="T:System.Text.Json.JsonExc
108
108
]]>
109
109
</format>
110
110
</remarks>
111
-
<exceptioncref="T:System.ArgumentOutOfRangeException">Thrown when the max depth is set to a negative value.</exception>
111
+
<exceptioncref="T:System.ArgumentOutOfRangeException">The maximum depth is being set to a negative value.</exception>
0 commit comments