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/Utf8JsonWriter.xml
+19-6Lines changed: 19 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -455,11 +455,13 @@ The <xref:System.Text.Json.Utf8JsonWriter> will continue to use the original wri
455
455
456
456
## Remarks
457
457
458
-
The property name is escaped before writing.
458
+
The maximum allowed size of the binary data to write as Base64 is 125,000,000 bytes (or approximately 125 MB). Exceeding this limit results in an <xref:System.ArgumentException> being thrown.
459
+
460
+
The property name is escaped and the bytes are encoded before writing.
459
461
460
462
]]></format>
461
463
</remarks>
462
-
<exceptioncref="T:System.ArgumentException">The specified property name is too large.</exception>
464
+
<exceptioncref="T:System.ArgumentException">The specified property name or value is too large.</exception>
463
465
<exceptioncref="T:System.InvalidOperationException">Validation is enabled, and this method would result in writing invalid JSON.</exception>
464
466
</Docs>
465
467
</Member>
@@ -491,11 +493,13 @@ The property name is escaped before writing.
491
493
492
494
## Remarks
493
495
494
-
The property name is escaped before writing.
496
+
The maximum allowed size of the binary data to write as Base64 is 125,000,000 bytes (or approximately 125 MB). Exceeding this limit results in an <xref:System.ArgumentException> being thrown.
497
+
498
+
The property name is escaped and the bytes are encoded before writing.
495
499
496
500
]]></format>
497
501
</remarks>
498
-
<exceptioncref="T:System.ArgumentException">The specified property name is too large.</exception>
502
+
<exceptioncref="T:System.ArgumentException">The specified property name or value is too large.</exception>
499
503
<exceptioncref="T:System.InvalidOperationException">Validation is enabled, and this method would result in writing invalid JSON.</exception>
500
504
</Docs>
501
505
</Member>
@@ -527,11 +531,13 @@ The property name is escaped before writing.
527
531
528
532
## Remarks
529
533
530
-
The property name is escaped before writing.
534
+
The maximum allowed size of the binary data to write as Base64 is 125,000,000 bytes (or approximately 125 MB). Exceeding this limit results in an <xref:System.ArgumentException> being thrown.
535
+
536
+
The property name is escaped and the bytes are encoded before writing.
531
537
532
538
]]></format>
533
539
</remarks>
534
-
<exceptioncref="T:System.ArgumentException">The specified property name is too large.</exception>
540
+
<exceptioncref="T:System.ArgumentException">The specified property name or value is too large.</exception>
535
541
<exceptioncref="T:System.InvalidOperationException">Validation is enabled, and this method would result in writing invalid JSON.</exception>
536
542
<exceptioncref="T:System.ArgumentNullException">The <paramrefname="propertyName" /> parameter is <seelangword="null" />.</exception>
537
543
</Docs>
@@ -564,10 +570,15 @@ The property name is escaped before writing.
564
570
565
571
## Remarks
566
572
573
+
The maximum allowed size of the binary data to write as Base64 is 125,000,000 bytes (or approximately 125 MB). Exceeding this limit results in an <xref:System.ArgumentException> being thrown.
574
+
567
575
The property name should already be escaped when the instance of <xref:System.Text.Json.JsonEncodedText> was created.
568
576
577
+
The bytes are encoded before writing.
578
+
569
579
]]></format>
570
580
</remarks>
581
+
<exceptioncref="T:System.ArgumentException">The specified value is too large.</exception>
571
582
<exceptioncref="T:System.InvalidOperationException">Validation is enabled, and this method would result in writing invalid JSON.</exception>
572
583
</Docs>
573
584
</Member>
@@ -597,6 +608,8 @@ The property name should already be escaped when the instance of <xref:System.Te
597
608
598
609
## Remarks
599
610
611
+
The maximum allowed size of the binary data to write as Base64 is 125,000,000 bytes (or approximately 125 MB). Exceeding this limit results in an <xref:System.ArgumentException> being thrown.
0 commit comments