Repository navigation
Expand file tree
/
Copy pathUtf8JsonReader.xml
More file actions
2119 lines (1980 loc) · 134 KB
/
Copy pathUtf8JsonReader.xml
File metadata and controls
2119 lines (1980 loc) · 134 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Type Name="Utf8JsonReader" FullName="System.Text.Json.Utf8JsonReader">
<TypeSignature Language="C#" Value="public ref struct Utf8JsonReader" />
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit Utf8JsonReader extends System.ValueType" />
<TypeSignature Language="DocId" Value="T:System.Text.Json.Utf8JsonReader" />
<TypeSignature Language="VB.NET" Value="Public Structure Utf8JsonReader" />
<TypeSignature Language="F#" Value="type Utf8JsonReader = struct" />
<TypeSignature Language="C++ CLI" Value="public value class Utf8JsonReader" />
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.1</AssemblyVersion>
<AssemblyVersion>10.0.0.2</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.ValueType</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="net-10.0;net-10.0-pp;net-11.0;net-11.0-pp;net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.CompilerFeatureRequired("RefStructs")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.CompilerFeatureRequired("RefStructs")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="net-10.0;net-10.0-pp;net-11.0;net-11.0-pp;net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.IsByRefLike]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.IsByRefLike>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="net-10.0-pp;net-11.0-pp;netframework-4.6.2-pp;netframework-4.7.1-pp;netframework-4.7.2-pp;netframework-4.7-pp;netframework-4.8.1-pp;netframework-4.8-pp;netstandard-2.0-pp">
<AttributeName Language="C#">[System.Diagnostics.DebuggerDisplay("{DebuggerDisplay,nq}")]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerDisplay("{DebuggerDisplay,nq}")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Provides a high-performance API for forward-only, read-only access to UTF-8 encoded JSON text.</summary>
<remarks>
<format type="text/markdown"><.
When `Utf8JsonReader` encounters invalid JSON, it throws a <xref:System.Text.Json.JsonException> with basic error information like line number and byte position on the line.
Since this type is a ref struct, it doesn't directly support async. However, it does provide support for reentrancy to read incomplete data and to continue reading once more data is presented.
To be able to set max depth while reading or to allow skipping comments, create an instance of <xref:System.Text.Json.JsonReaderOptions> and pass it to the reader.
For more information, see [Use Utf8JsonReader](/dotnet/standard/serialization/system-text-json/use-dom-utf8jsonreader-utf8jsonwriter#use-utf8jsonreader).
]]></format>
</remarks>
</Docs>
<Members>
<MemberGroup MemberName=".ctor">
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Text.Json.Utf8JsonReader" /> structure.</summary>
</Docs>
</MemberGroup>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Utf8JsonReader (System.Buffers.ReadOnlySequence<byte> jsonData, System.Text.Json.JsonReaderOptions options = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype System.Buffers.ReadOnlySequence`1<unsigned int8> jsonData, valuetype System.Text.Json.JsonReaderOptions options) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.#ctor(System.Buffers.ReadOnlySequence{System.Byte},System.Text.Json.JsonReaderOptions)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (jsonData As ReadOnlySequence(Of Byte), Optional options As JsonReaderOptions = Nothing)" />
<MemberSignature Language="F#" Value="new System.Text.Json.Utf8JsonReader : System.Buffers.ReadOnlySequence<byte> * System.Text.Json.JsonReaderOptions -> System.Text.Json.Utf8JsonReader" Usage="new System.Text.Json.Utf8JsonReader (jsonData, options)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="jsonData" Type="System.Buffers.ReadOnlySequence<System.Byte>" />
<Parameter Name="options" Type="System.Text.Json.JsonReaderOptions" />
</Parameters>
<Docs>
<param name="jsonData">The UTF-8 encoded JSON text to process.</param>
<param name="options">Options that define customized behavior of the <see cref="T:System.Text.Json.Utf8JsonReader" /> that differs from the JSON RFC (for example, how to handle comments or maximum depth allowed when reading). By default, the <see cref="T:System.Text.Json.Utf8JsonReader" /> follows the JSON RFC strictly; comments within the JSON are invalid, and the maximum depth is 64.</param>
<summary>Initializes a new instance of the <see cref="T:System.Text.Json.Utf8JsonReader" /> structure that processes a read-only sequence of UTF-8 encoded text using the specified options.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Since this type is a ref struct, it is a stack-only type, and all the limitations of ref structs apply to it.
This constructor assumes that the entire JSON payload is contained in `jsonData`; it is equivalent to <xref:System.Text.Json.Utf8JsonReader.IsFinalBlock?displayProperty=nameWithType> = `true`.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Utf8JsonReader (ReadOnlySpan<byte> jsonData, System.Text.Json.JsonReaderOptions options = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype System.ReadOnlySpan`1<unsigned int8> jsonData, valuetype System.Text.Json.JsonReaderOptions options) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.#ctor(System.ReadOnlySpan{System.Byte},System.Text.Json.JsonReaderOptions)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (jsonData As ReadOnlySpan(Of Byte), Optional options As JsonReaderOptions = Nothing)" />
<MemberSignature Language="F#" Value="new System.Text.Json.Utf8JsonReader : ReadOnlySpan<byte> * System.Text.Json.JsonReaderOptions -> System.Text.Json.Utf8JsonReader" Usage="new System.Text.Json.Utf8JsonReader (jsonData, options)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="jsonData" Type="System.ReadOnlySpan<System.Byte>" />
<Parameter Name="options" Type="System.Text.Json.JsonReaderOptions" />
</Parameters>
<Docs>
<param name="jsonData">The UTF-8 encoded JSON text to process.</param>
<param name="options">Options that define customized behavior of the <see cref="T:System.Text.Json.Utf8JsonReader" /> that differs from the JSON RFC (for example, how to handle comments or maximum depth allowed when reading). By default, the <see cref="T:System.Text.Json.Utf8JsonReader" /> follows the JSON RFC strictly; comments within the JSON are invalid, and the maximum depth is 64.</param>
<summary>Initializes a new instance of the <see cref="T:System.Text.Json.Utf8JsonReader" /> structure that processes a read-only span of UTF-8 encoded text using the specified options.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Since this type is a ref struct, it is a stack-only type, and all the limitations of ref structs apply to it.
This constructor assumes that the entire JSON payload is contained in `jsonData`; it is equivalent to <xref:System.Text.Json.Utf8JsonReader.IsFinalBlock?displayProperty=nameWithType> = `true`.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Utf8JsonReader (System.Buffers.ReadOnlySequence<byte> jsonData, bool isFinalBlock, System.Text.Json.JsonReaderState state);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype System.Buffers.ReadOnlySequence`1<unsigned int8> jsonData, bool isFinalBlock, valuetype System.Text.Json.JsonReaderState state) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.#ctor(System.Buffers.ReadOnlySequence{System.Byte},System.Boolean,System.Text.Json.JsonReaderState)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (jsonData As ReadOnlySequence(Of Byte), isFinalBlock As Boolean, state As JsonReaderState)" />
<MemberSignature Language="F#" Value="new System.Text.Json.Utf8JsonReader : System.Buffers.ReadOnlySequence<byte> * bool * System.Text.Json.JsonReaderState -> System.Text.Json.Utf8JsonReader" Usage="new System.Text.Json.Utf8JsonReader (jsonData, isFinalBlock, state)" />
<MemberSignature Language="C++ CLI" Value="public:
 Utf8JsonReader(System::Buffers::ReadOnlySequence<System::Byte> jsonData, bool isFinalBlock, System::Text::Json::JsonReaderState state);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="jsonData" Type="System.Buffers.ReadOnlySequence<System.Byte>" />
<Parameter Name="isFinalBlock" Type="System.Boolean" />
<Parameter Name="state" Type="System.Text.Json.JsonReaderState" />
</Parameters>
<Docs>
<param name="jsonData">The UTF-8 encoded JSON text to process.</param>
<param name="isFinalBlock">
<see langword="true" /> to indicate that the input sequence contains the entire data to process; <see langword="false" /> to indicate that the input span contains partial data with more data to follow.</param>
<param name="state">The reader state. If this is the first call to the constructor, pass the default state; otherwise, pass the value of the <see cref="P:System.Text.Json.Utf8JsonReader.CurrentState" /> property from the previous instance of the <see cref="T:System.Text.Json.Utf8JsonReader" />.</param>
<summary>Initializes a new instance of the <see cref="T:System.Text.Json.Utf8JsonReader" /> structure that processes a read-only sequence of UTF-8 encoded text and indicates whether the input contains all the text to process.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Since this type is a ref struct, it is a stack-only type, and all the limitations of ref structs apply to it.
This is the reason why the constructor accepts a <xref:System.Text.Json.JsonReaderState>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Utf8JsonReader (ReadOnlySpan<byte> jsonData, bool isFinalBlock, System.Text.Json.JsonReaderState state);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype System.ReadOnlySpan`1<unsigned int8> jsonData, bool isFinalBlock, valuetype System.Text.Json.JsonReaderState state) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.#ctor(System.ReadOnlySpan{System.Byte},System.Boolean,System.Text.Json.JsonReaderState)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (jsonData As ReadOnlySpan(Of Byte), isFinalBlock As Boolean, state As JsonReaderState)" />
<MemberSignature Language="F#" Value="new System.Text.Json.Utf8JsonReader : ReadOnlySpan<byte> * bool * System.Text.Json.JsonReaderState -> System.Text.Json.Utf8JsonReader" Usage="new System.Text.Json.Utf8JsonReader (jsonData, isFinalBlock, state)" />
<MemberSignature Language="C++ CLI" Value="public:
 Utf8JsonReader(ReadOnlySpan<System::Byte> jsonData, bool isFinalBlock, System::Text::Json::JsonReaderState state);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="jsonData" Type="System.ReadOnlySpan<System.Byte>" />
<Parameter Name="isFinalBlock" Type="System.Boolean" />
<Parameter Name="state" Type="System.Text.Json.JsonReaderState" />
</Parameters>
<Docs>
<param name="jsonData">The UTF-8 encoded JSON text to process.</param>
<param name="isFinalBlock">
<see langword="true" /> to indicate that the input sequence contains the entire data to process; <see langword="false" /> to indicate that the input span contains partial data with more data to follow.</param>
<param name="state">The reader state. If this is the first call to the constructor, pass the default state; otherwise, pass the value of the <see cref="P:System.Text.Json.Utf8JsonReader.CurrentState" /> property from the previous instance of the <see cref="T:System.Text.Json.Utf8JsonReader" />.</param>
<summary>Initializes a new instance of the <see cref="T:System.Text.Json.Utf8JsonReader" /> structure that processes a read-only span of UTF-8 encoded text and indicates whether the input contains all the text to process.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Since this type is a ref struct, it is a stack-only type, and all the limitations of ref structs apply to it.
This is the reason why the constructor accepts a <xref:System.Text.Json.JsonReaderState>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="BytesConsumed">
<MemberSignature Language="C#" Value="public long BytesConsumed { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int64 BytesConsumed" />
<MemberSignature Language="DocId" Value="P:System.Text.Json.Utf8JsonReader.BytesConsumed" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property BytesConsumed As Long" />
<MemberSignature Language="F#" Value="member this.BytesConsumed : int64" Usage="System.Text.Json.Utf8JsonReader.BytesConsumed" />
<MemberSignature Language="C++ CLI" Value="public:
 property long BytesConsumed { long get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="net-10.0;net-10.0-pp;net-11.0;net-11.0-pp;net-8.0;net-9.0">
<AttributeName Language="C#">[get: System.Runtime.CompilerServices.IsReadOnly]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.CompilerServices.IsReadOnly>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int64</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the total number of bytes consumed so far by this instance of the <see cref="T:System.Text.Json.Utf8JsonReader" />.</summary>
<value>The total number of bytes consumed so far.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<MemberGroup MemberName="CopyString">
<Docs>
<summary>Copies the current JSON token value from the source, unescaped, as UTF-8 bytes to a buffer.</summary>
</Docs>
</MemberGroup>
<Member MemberName="CopyString">
<MemberSignature Language="C#" Value="public readonly int CopyString (Span<byte> utf8Destination);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance int32 CopyString(valuetype System.Span`1<unsigned int8> utf8Destination) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.CopyString(System.Span{System.Byte})" />
<MemberSignature Language="VB.NET" Value="Public Function CopyString (utf8Destination As Span(Of Byte)) As Integer" />
<MemberSignature Language="F#" Value="member this.CopyString : Span<byte> -> int" Usage="utf8JsonReader.CopyString utf8Destination" />
<MemberSignature Language="C++ CLI" Value="public:
 int CopyString(Span<System::Byte> utf8Destination);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="net-10.0;net-10.0-pp;net-11.0;net-11.0-pp;net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.IsReadOnly]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.IsReadOnly>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="utf8Destination" Type="System.Span<System.Byte>" />
</Parameters>
<Docs>
<param name="utf8Destination">A buffer to write the unescaped UTF-8 bytes into.</param>
<summary>Copies the current JSON token value from the source, unescaped, as UTF-8 bytes to a buffer.</summary>
<returns>The number of bytes written to <paramref name="utf8Destination" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Unlike <xref:System.Text.Json.Utf8JsonReader.GetString>, this method does not support <xref:System.Text.Json.JsonTokenType.Null>.
This method will throw an <xref:System.ArgumentException> if the destination buffer is too small to hold the unescaped value. You can determine an appropriately sized buffer by consulting the length of either <xref:System.Text.Json.Utf8JsonReader.ValueSpan> or <xref:System.Text.Json.Utf8JsonReader.ValueSequence>, since the unescaped result is always less than or equal to the length of the encoded strings.
]]></format>
</remarks>
<exception cref="T:System.InvalidOperationException">The JSON token is not a string, that is, it's not <see cref="F:System.Text.Json.JsonTokenType.String" /> or <see cref="F:System.Text.Json.JsonTokenType.PropertyName" />.
-or-
The JSON string contains invalid UTF-8 bytes or invalid UTF-16 surrogates.</exception>
<exception cref="T:System.ArgumentException">The destination buffer is too small to hold the unescaped value.</exception>
<seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="CopyString">
<MemberSignature Language="C#" Value="public readonly int CopyString (Span<char> destination);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance int32 CopyString(valuetype System.Span`1<char> destination) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.CopyString(System.Span{System.Char})" />
<MemberSignature Language="VB.NET" Value="Public Function CopyString (destination As Span(Of Char)) As Integer" />
<MemberSignature Language="F#" Value="member this.CopyString : Span<char> -> int" Usage="utf8JsonReader.CopyString destination" />
<MemberSignature Language="C++ CLI" Value="public:
 int CopyString(Span<char> destination);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="net-10.0;net-10.0-pp;net-11.0;net-11.0-pp;net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.IsReadOnly]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.IsReadOnly>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="destination" Type="System.Span<System.Char>" />
</Parameters>
<Docs>
<param name="destination">A buffer to write the transcoded UTF-16 characters into.</param>
<summary>Copies the current JSON token value from the source, unescaped, as UTF-16 characters to a buffer.</summary>
<returns>The number of characters written to <paramref name="destination" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Unlike <xref:System.Text.Json.Utf8JsonReader.GetString>, this method does not support <xref:System.Text.Json.JsonTokenType.Null>.
This method will throw an <xref:System.ArgumentException> if the destination buffer is too small to hold the unescaped value. You can determine an appropriately sized buffer by consulting the length of either <xref:System.Text.Json.Utf8JsonReader.ValueSpan> or <xref:System.Text.Json.Utf8JsonReader.ValueSequence>, since the unescaped result is always less than or equal to the length of the encoded strings.
]]></format>
</remarks>
<exception cref="T:System.InvalidOperationException">The JSON token is not a string, that is, it's not <see cref="F:System.Text.Json.JsonTokenType.String" /> or <see cref="F:System.Text.Json.JsonTokenType.PropertyName" />.
-or-
The JSON string contains invalid UTF-8 bytes or invalid UTF-16 surrogates.</exception>
<exception cref="T:System.ArgumentException">The destination buffer is too small to hold the unescaped value.</exception>
<seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="CurrentDepth">
<MemberSignature Language="C#" Value="public int CurrentDepth { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 CurrentDepth" />
<MemberSignature Language="DocId" Value="P:System.Text.Json.Utf8JsonReader.CurrentDepth" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property CurrentDepth As Integer" />
<MemberSignature Language="F#" Value="member this.CurrentDepth : int" Usage="System.Text.Json.Utf8JsonReader.CurrentDepth" />
<MemberSignature Language="C++ CLI" Value="public:
 property int CurrentDepth { int get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="net-10.0;net-10.0-pp;net-11.0;net-11.0-pp;net-8.0;net-9.0">
<AttributeName Language="C#">[get: System.Runtime.CompilerServices.IsReadOnly]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.CompilerServices.IsReadOnly>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the depth of the current token.</summary>
<value>The depth of the current token.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The `CurrentDepth` property tracks the recursive depth of the nested objects or arrays within the JSON text processed so far.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CurrentState">
<MemberSignature Language="C#" Value="public System.Text.Json.JsonReaderState CurrentState { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Text.Json.JsonReaderState CurrentState" />
<MemberSignature Language="DocId" Value="P:System.Text.Json.Utf8JsonReader.CurrentState" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property CurrentState As JsonReaderState" />
<MemberSignature Language="F#" Value="member this.CurrentState : System.Text.Json.JsonReaderState" Usage="System.Text.Json.Utf8JsonReader.CurrentState" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Text::Json::JsonReaderState CurrentState { System::Text::Json::JsonReaderState get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="net-10.0;net-10.0-pp;net-11.0;net-11.0-pp;net-8.0;net-9.0">
<AttributeName Language="C#">[get: System.Runtime.CompilerServices.IsReadOnly]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.CompilerServices.IsReadOnly>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Text.Json.JsonReaderState</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the current <see cref="T:System.Text.Json.Utf8JsonReader" /> state to pass to a <see cref="T:System.Text.Json.Utf8JsonReader" /> constructor with more data.</summary>
<value>The current reader state.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Unlike the <xref:System.Text.Json.Utf8JsonReader>, which is a ref struct, the state can survive across `async`/`await` boundaries. This type is required to provide support for reading in more data asynchronously before continuing with a new instance of the <xref:System.Text.Json.Utf8JsonReader>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="GetBoolean">
<MemberSignature Language="C#" Value="public bool GetBoolean ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool GetBoolean() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.GetBoolean" />
<MemberSignature Language="VB.NET" Value="Public Function GetBoolean () As Boolean" />
<MemberSignature Language="F#" Value="member this.GetBoolean : unit -> bool" Usage="utf8JsonReader.GetBoolean " />
<MemberSignature Language="C++ CLI" Value="public:
 bool GetBoolean();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Reads the next JSON token value from the source as a <see cref="T:System.Boolean" />.</summary>
<returns>
<see langword="true" /> if the <see cref="P:System.Text.Json.Utf8JsonReader.TokenType" /> is <see cref="F:System.Text.Json.JsonTokenType.True" />; <see langword="false" /> if the <see cref="P:System.Text.Json.Utf8JsonReader.TokenType" /> is <see cref="F:System.Text.Json.JsonTokenType.False" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">The value of the JSON token isn't a Boolean value (that is, <see cref="F:System.Text.Json.JsonTokenType.True" /> or <see cref="F:System.Text.Json.JsonTokenType.False" />).</exception>
<altmember cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="GetByte">
<MemberSignature Language="C#" Value="public byte GetByte ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance unsigned int8 GetByte() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.GetByte" />
<MemberSignature Language="VB.NET" Value="Public Function GetByte () As Byte" />
<MemberSignature Language="F#" Value="member this.GetByte : unit -> byte" Usage="utf8JsonReader.GetByte " />
<MemberSignature Language="C++ CLI" Value="public:
 System::Byte GetByte();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Byte</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Parses the current JSON token value from the source as a <see cref="T:System.Byte" />.</summary>
<returns>The value of the UTF-8 encoded token.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">The value of the JSON token is not a <see cref="F:System.Text.Json.JsonTokenType.Number" />.</exception>
<exception cref="T:System.FormatException">The numeric format of the JSON token value is incorrect (for example, it contains a fractional value or is written in scientific notation).
-or-
The JSON token value represents a number less than <see cref="F:System.Byte.MinValue">Byte.MinValue</see> or greater than <see cref="F:System.Byte.MaxValue">Byte.MaxValue</see>.</exception>
<altmember cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="GetBytesFromBase64">
<MemberSignature Language="C#" Value="public byte[] GetBytesFromBase64 ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance unsigned int8[] GetBytesFromBase64() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.GetBytesFromBase64" />
<MemberSignature Language="VB.NET" Value="Public Function GetBytesFromBase64 () As Byte()" />
<MemberSignature Language="F#" Value="member this.GetBytesFromBase64 : unit -> byte[]" Usage="utf8JsonReader.GetBytesFromBase64 " />
<MemberSignature Language="C++ CLI" Value="public:
 cli::array <System::Byte> ^ GetBytesFromBase64();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Parses the current JSON token value from the source and decodes the Base64 encoded JSON string as a byte array.</summary>
<returns>The byte array that represents the current JSON token value.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">The type of the JSON token is not a <see cref="F:System.Text.Json.JsonTokenType.String" />.</exception>
<exception cref="T:System.FormatException">The value is not encoded as Base64 text, so it can't be decoded to bytes.
-or-
The value contains invalid or more than two padding characters.
-or-
The value is incomplete. That is, the JSON string length is not a multiple of 4.</exception>
<altmember cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="GetComment">
<MemberSignature Language="C#" Value="public string GetComment ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance string GetComment() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.GetComment" />
<MemberSignature Language="VB.NET" Value="Public Function GetComment () As String" />
<MemberSignature Language="F#" Value="member this.GetComment : unit -> string" Usage="utf8JsonReader.GetComment " />
<MemberSignature Language="C++ CLI" Value="public:
 System::String ^ GetComment();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Parses the current JSON token value from the source as a comment and transcodes it as a <see cref="T:System.String" />.</summary>
<returns>The comment that represents the current JSON token value.</returns>
<remarks>This is only applicable when the reader is constructed using the <see cref="F:System.Text.Json.JsonCommentHandling.Allow" /> option. Otherwise, the <see cref="P:System.Text.Json.Utf8JsonReader.TokenType" /> will never be <see cref="F:System.Text.Json.JsonTokenType.Comment" />.</remarks>
<exception cref="T:System.InvalidOperationException">The JSON token is not a comment.</exception>
<altmember cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="GetDateTime">
<MemberSignature Language="C#" Value="public DateTime GetDateTime ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype System.DateTime GetDateTime() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.GetDateTime" />
<MemberSignature Language="VB.NET" Value="Public Function GetDateTime () As DateTime" />
<MemberSignature Language="F#" Value="member this.GetDateTime : unit -> DateTime" Usage="utf8JsonReader.GetDateTime " />
<MemberSignature Language="C++ CLI" Value="public:
 DateTime GetDateTime();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.DateTime</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Reads the next JSON token value from the source and parses it to a <see cref="T:System.DateTime" />.</summary>
<returns>The date and time value, if the entire UTF-8 encoded token value can be successfully parsed.</returns>
<remarks>
<format type="text/markdown"><).
]]></format>
</remarks>
<exception cref="T:System.InvalidOperationException">The value of the JSON token isn't a <see cref="F:System.Text.Json.JsonTokenType.String" />.</exception>
<exception cref="T:System.FormatException">The JSON token value cannot be read as a <see cref="T:System.DateTime" />.
-or-
The entire UTF-8 encoded token value cannot be parsed to a <see cref="T:System.DateTime" /> value.
-or-
The JSON token value is of an unsupported format.</exception>
<altmember cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="GetDateTimeOffset">
<MemberSignature Language="C#" Value="public DateTimeOffset GetDateTimeOffset ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype System.DateTimeOffset GetDateTimeOffset() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.GetDateTimeOffset" />
<MemberSignature Language="VB.NET" Value="Public Function GetDateTimeOffset () As DateTimeOffset" />
<MemberSignature Language="F#" Value="member this.GetDateTimeOffset : unit -> DateTimeOffset" Usage="utf8JsonReader.GetDateTimeOffset " />
<MemberSignature Language="C++ CLI" Value="public:
 DateTimeOffset GetDateTimeOffset();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.DateTimeOffset</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Reads the next JSON token value from the source and parses it to a <see cref="T:System.DateTimeOffset" />.</summary>
<returns>The date and time offset, if the entire UTF-8 encoded token value can be successfully parsed.</returns>
<remarks>
<format type="text/markdown"><).
]]></format>
</remarks>
<exception cref="T:System.InvalidOperationException">The value of the JSON token isn't a <see cref="F:System.Text.Json.JsonTokenType.String" />.</exception>
<exception cref="T:System.FormatException">The JSON token value cannot be read as a <see cref="T:System.DateTimeOffset" />.
-or-
The entire UTF-8 encoded token value cannot be parsed to a <see cref="T:System.DateTimeOffset" /> value.
-or-
The JSON token value is of an unsupported format.</exception>
<altmember cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="GetDecimal">
<MemberSignature Language="C#" Value="public decimal GetDecimal ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype System.Decimal GetDecimal() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.GetDecimal" />
<MemberSignature Language="VB.NET" Value="Public Function GetDecimal () As Decimal" />
<MemberSignature Language="F#" Value="member this.GetDecimal : unit -> decimal" Usage="utf8JsonReader.GetDecimal " />
<MemberSignature Language="C++ CLI" Value="public:
 System::Decimal GetDecimal();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Decimal</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Reads the next JSON token value from the source and parses it to a <see cref="T:System.Decimal" />.</summary>
<returns>The UTF-8 encoded token value parsed to a <see cref="T:System.Decimal" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">The JSON token value isn't a <see cref="F:System.Text.Json.JsonTokenType.Number" />.</exception>
<exception cref="T:System.FormatException">The JSON token value represents a number less than <see cref="F:System.Decimal.MinValue">Decimal.MinValue</see> or greater than <see cref="F:System.Decimal.MaxValue">Decimal.MaxValue</see>.</exception>
<altmember cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="GetDouble">
<MemberSignature Language="C#" Value="public double GetDouble ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance float64 GetDouble() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.GetDouble" />
<MemberSignature Language="VB.NET" Value="Public Function GetDouble () As Double" />
<MemberSignature Language="F#" Value="member this.GetDouble : unit -> double" Usage="utf8JsonReader.GetDouble " />
<MemberSignature Language="C++ CLI" Value="public:
 double GetDouble();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Reads the next JSON token value from the source and parses it to a <see cref="T:System.Double" />.</summary>
<returns>The UTF-8 encoded token value parsed to a <see cref="T:System.Double" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">The JSON token value isn't a <see cref="F:System.Text.Json.JsonTokenType.Number" />.</exception>
<exception cref="T:System.FormatException">The JSON token value represents a number less than <see cref="F:System.Double.MinValue">Double.MinValue</see> or greater than <see cref="F:System.Double.MaxValue">Double.MaxValue</see>.</exception>
<altmember cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="GetGuid">
<MemberSignature Language="C#" Value="public Guid GetGuid ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype System.Guid GetGuid() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.GetGuid" />
<MemberSignature Language="VB.NET" Value="Public Function GetGuid () As Guid" />
<MemberSignature Language="F#" Value="member this.GetGuid : unit -> Guid" Usage="utf8JsonReader.GetGuid " />
<MemberSignature Language="C++ CLI" Value="public:
 Guid GetGuid();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Guid</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Reads the next JSON token value from the source and parses it to a <see cref="T:System.Guid" />.</summary>
<returns>The GUID value, if the entire UTF-8 encoded token value can be successfully parsed.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">The value of the JSON token isn't a <see cref="F:System.Text.Json.JsonTokenType.String" />.</exception>
<exception cref="T:System.FormatException">The JSON token value is in an unsupported format for a Guid.
-or-
The entire UTF-8 encoded token value cannot be parsed to a <see cref="T:System.Guid" /> value.</exception>
<altmember cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="GetInt16">
<MemberSignature Language="C#" Value="public short GetInt16 ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance int16 GetInt16() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.GetInt16" />
<MemberSignature Language="VB.NET" Value="Public Function GetInt16 () As Short" />
<MemberSignature Language="F#" Value="member this.GetInt16 : unit -> int16" Usage="utf8JsonReader.GetInt16 " />
<MemberSignature Language="C++ CLI" Value="public:
 short GetInt16();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int16</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Parses the current JSON token value from the source as a <see cref="T:System.Int16" />.</summary>
<returns>The UTF-8 encoded token value parsed to an <see cref="T:System.Int16" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">The value of the JSON token is not a <see cref="F:System.Text.Json.JsonTokenType.Number" />.</exception>
<exception cref="T:System.FormatException">The numeric format of the JSON token value is incorrect (for example, it contains a fractional value or is written in scientific notation).
-or-
The JSON token value represents a number less than <see cref="F:System.Int16.MinValue">Int16.MinValue</see> or greater than <see cref="F:System.Int16.MaxValue">Int16.MaxValue</see>.</exception>
<altmember cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="GetInt32">
<MemberSignature Language="C#" Value="public int GetInt32 ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance int32 GetInt32() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.GetInt32" />
<MemberSignature Language="VB.NET" Value="Public Function GetInt32 () As Integer" />
<MemberSignature Language="F#" Value="member this.GetInt32 : unit -> int" Usage="utf8JsonReader.GetInt32 " />
<MemberSignature Language="C++ CLI" Value="public:
 int GetInt32();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Reads the next JSON token value from the source and parses it to an <see cref="T:System.Int32" />.</summary>
<returns>The UTF-8 encoded token value parsed to an <see cref="T:System.Int32" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">The JSON token value isn't a <see cref="F:System.Text.Json.JsonTokenType.Number" />.</exception>
<exception cref="T:System.FormatException">The JSON token value is of the incorrect numeric format. For example, it contains a decimal or is written in scientific notation.
-or-
The JSON token value represents a number less than <see cref="F:System.Int32.MinValue">Int32.MinValue</see> or greater than <see cref="F:System.Int32.MaxValue">Int32.MaxValue</see>.</exception>
<altmember cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="GetInt64">
<MemberSignature Language="C#" Value="public long GetInt64 ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance int64 GetInt64() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.GetInt64" />
<MemberSignature Language="VB.NET" Value="Public Function GetInt64 () As Long" />
<MemberSignature Language="F#" Value="member this.GetInt64 : unit -> int64" Usage="utf8JsonReader.GetInt64 " />
<MemberSignature Language="C++ CLI" Value="public:
 long GetInt64();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int64</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Reads the next JSON token value from the source and parses it to an <see cref="T:System.Int64" />.</summary>
<returns>The UTF-8 encoded token value parsed to an <see cref="T:System.Int64" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">The JSON token value isn't a <see cref="F:System.Text.Json.JsonTokenType.Number" />.</exception>
<exception cref="T:System.FormatException">The JSON token value is of the incorrect numeric format. For example, it contains a decimal or is written in scientific notation.
-or-
The JSON token value represents a number less than <see cref="F:System.Int64.MinValue">Int64.MinValue</see> or greater than <see cref="F:System.Int64.MaxValue">Int64.MaxValue</see>.</exception>
<altmember cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="GetSByte">
<MemberSignature Language="C#" Value="public sbyte GetSByte ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance int8 GetSByte() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.GetSByte" />
<MemberSignature Language="VB.NET" Value="Public Function GetSByte () As SByte" />
<MemberSignature Language="F#" Value="member this.GetSByte : unit -> sbyte" Usage="utf8JsonReader.GetSByte " />
<MemberSignature Language="C++ CLI" Value="public:
 System::SByte GetSByte();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.CLSCompliant(false)]</AttributeName>
<AttributeName Language="F#">[<System.CLSCompliant(false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.SByte</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Parses the current JSON token value from the source as an <see cref="T:System.SByte" />.</summary>
<returns>The UTF-8 encoded token value parsed to an <see cref="T:System.SByte" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">The value of the JSON token is not a <see cref="F:System.Text.Json.JsonTokenType.Number" />.</exception>
<exception cref="T:System.FormatException">The numeric format of the JSON token value is incorrect (for example, it contains a fractional value or is written in scientific notation).
-or-
The JSON token value represents a number less than <see cref="F:System.SByte.MinValue">SByte.MinValue</see> or greater than <see cref="F:System.SByte.MaxValue">SByte.MaxValue</see>.</exception>
<altmember cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="GetSingle">
<MemberSignature Language="C#" Value="public float GetSingle ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance float32 GetSingle() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.GetSingle" />
<MemberSignature Language="VB.NET" Value="Public Function GetSingle () As Single" />
<MemberSignature Language="F#" Value="member this.GetSingle : unit -> single" Usage="utf8JsonReader.GetSingle " />
<MemberSignature Language="C++ CLI" Value="public:
 float GetSingle();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Reads the next JSON token value from the source and parses it to a <see cref="T:System.Single" />.</summary>
<returns>The UTF-8 encoded token value parsed to a <see cref="T:System.Single" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">The JSON token value isn't a <see cref="F:System.Text.Json.JsonTokenType.Number" />.</exception>
<exception cref="T:System.FormatException">The JSON token value represents a number less than <see cref="F:System.Single.MinValue">Single.MinValue</see> or greater than <see cref="F:System.Single.MaxValue">Single.MaxValue</see>.</exception>
<altmember cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="GetString">
<MemberSignature Language="C#" Value="public string? GetString ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance string GetString() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.GetString" />
<MemberSignature Language="VB.NET" Value="Public Function GetString () As String" />
<MemberSignature Language="F#" Value="member this.GetString : unit -> string" Usage="utf8JsonReader.GetString " />
<MemberSignature Language="C++ CLI" Value="public:
 System::String ^ GetString();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Reads the next JSON token value from the source unescaped and transcodes it as a string.</summary>
<returns>The token value parsed to a string, or <see langword="null" /> if <see cref="P:System.Text.Json.Utf8JsonReader.TokenType" /> is <see cref="F:System.Text.Json.JsonTokenType.Null" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Returns `null` when <xref:System.Text.Json.Utf8JsonReader.TokenType> is <xref:System.Text.Json.JsonTokenType.Null?displayProperty=nameWithType>.
If performance is a concern, consider using the <xref:System.Text.Json.Utf8JsonReader.CopyString*?displayProperty=nameWithType> method instead. `CopyString` avoids allocating a new string each time the method is called.
]]></format>
</remarks>
<exception cref="T:System.InvalidOperationException">The JSON token value isn't a string (that is, not a <see cref="F:System.Text.Json.JsonTokenType.String" />, <see cref="F:System.Text.Json.JsonTokenType.PropertyName" />, or <see cref="F:System.Text.Json.JsonTokenType.Null" />).
-or-
The JSON string contains invalid UTF-8 bytes or invalid UTF-16 surrogates.</exception>
<altmember cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="GetUInt16">
<MemberSignature Language="C#" Value="public ushort GetUInt16 ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance unsigned int16 GetUInt16() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.GetUInt16" />
<MemberSignature Language="VB.NET" Value="Public Function GetUInt16 () As UShort" />
<MemberSignature Language="F#" Value="member this.GetUInt16 : unit -> uint16" Usage="utf8JsonReader.GetUInt16 " />
<MemberSignature Language="C++ CLI" Value="public:
 System::UInt16 GetUInt16();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.CLSCompliant(false)]</AttributeName>
<AttributeName Language="F#">[<System.CLSCompliant(false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.UInt16</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Parses the current JSON token value from the source as a <see cref="T:System.UInt16" />.</summary>
<returns>The UTF-8 encoded token value parsed to a <see cref="T:System.UInt16" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">The value of the JSON token is not a <see cref="F:System.Text.Json.JsonTokenType.Number" />.</exception>
<exception cref="T:System.FormatException">The numeric format of the JSON token value is incorrect (for example, it contains a fractional value or is written in scientific notation).
-or-
The JSON token value represents a number less than <see cref="F:System.UInt16.MinValue">UInt16.MinValue</see> or greater than <see cref="F:System.UInt16.MaxValue">UInt16.MaxValue</see>.</exception>
<altmember cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
</Docs>
</Member>
<Member MemberName="GetUInt32">
<MemberSignature Language="C#" Value="public uint GetUInt32 ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance unsigned int32 GetUInt32() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Text.Json.Utf8JsonReader.GetUInt32" />
<MemberSignature Language="VB.NET" Value="Public Function GetUInt32 () As UInteger" />
<MemberSignature Language="F#" Value="member this.GetUInt32 : unit -> uint32" Usage="utf8JsonReader.GetUInt32 " />
<MemberSignature Language="C++ CLI" Value="public:
 System::UInt32 GetUInt32();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Text.Json</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.CLSCompliant(false)]</AttributeName>
<AttributeName Language="F#">[<System.CLSCompliant(false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Reads the next JSON token value from the source and parses it to a <see cref="T:System.UInt32" />.</summary>
<returns>The UTF-8 encoded token value parsed to a <see cref="T:System.UInt32" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">The JSON token value isn't a <see cref="F:System.Text.Json.JsonTokenType.Number" />.</exception>
<exception cref="T:System.FormatException">The JSON token value is of the incorrect numeric format. For example, it contains a decimal or is written in scientific notation.
-or-
The JSON token value represents a number less than <see cref="F:System.UInt32.MinValue">UInt32.MinValue</see> or greater than <see cref="F:System.UInt32.MaxValue">UInt32.MaxValue</see>.</exception>
<altmember cref="P:System.Text.Json.Utf8JsonReader.TokenType" />