Skip to content

Commit 6bad04a

Browse files
authored
Update JsonSerializer exception (dotnet#4957)
1 parent 87f9079 commit 6bad04a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

xml/System.Text.Json/JsonSerializer.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,6 @@ For more information, see [How to serialize and deserialize JSON](/dotnet/standa
306306
307307
]]></format>
308308
</remarks>
309-
<exception cref="T:System.IndexOutOfRangeException">
310-
.NET Core 3.0 only: <typeparamref name="TValue" /> is <see cref="T:System.Char" /> and <paramref name="json" /> is an empty string.</exception>
311309
<exception cref="T:System.ArgumentNullException">
312310
<paramref name="json" /> is <see langword="null" />.</exception>
313311
<exception cref="T:System.Text.Json.JsonException">The JSON is invalid.
@@ -318,11 +316,7 @@ For more information, see [How to serialize and deserialize JSON](/dotnet/standa
318316

319317
-or-
320318

321-
There is remaining data in the string beyond a single JSON value.
322-
323-
-or-
324-
325-
.NET Core 3.1 and later versions only: <typeparamref name="TValue" /> is <see cref="T:System.Char" /> and <paramref name="json" /> is a null reference (<code>JsonSerializer.Deserialize&lt;char&gt;("null");</code>) or an empty string.</exception>
319+
There is remaining data in the string beyond a single JSON value.</exception>
326320
<exception cref="T:System.NotSupportedException">There is no compatible <see cref="System.Text.Json.Serialization.JsonConverter" /> for <typeparamref name="TValue" /> or its serializable members.</exception>
327321
</Docs>
328322
</Member>

0 commit comments

Comments
 (0)