@tsonic/dotnet 0.5.2 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. package/Internal/internal/index.d.ts +5 -5
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +14 -14
  3. package/Microsoft.VisualBasic/bindings.json +28 -28
  4. package/Microsoft.VisualBasic/internal/index.d.ts +265 -265
  5. package/Microsoft.VisualBasic/internal/metadata.json +14 -14
  6. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +202 -202
  7. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +68 -66
  8. package/Microsoft.Win32/internal/index.d.ts +16 -14
  9. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +18 -18
  10. package/README.md +39 -0
  11. package/System/bindings.json +138 -138
  12. package/System/internal/index.d.ts +4165 -3967
  13. package/System/internal/metadata.json +81 -487
  14. package/System.Buffers/internal/index.d.ts +60 -50
  15. package/System.Buffers.Binary/internal/index.d.ts +126 -126
  16. package/System.Buffers.Text/internal/index.d.ts +67 -67
  17. package/System.CodeDom.Compiler/internal/index.d.ts +35 -35
  18. package/System.Collections/internal/index.d.ts +199 -179
  19. package/System.Collections.Concurrent/internal/index.d.ts +61 -59
  20. package/System.Collections.Frozen/internal/index.d.ts +29 -29
  21. package/System.Collections.Frozen/internal/metadata.json +2 -16
  22. package/System.Collections.Generic/index.d.ts +1 -1
  23. package/System.Collections.Generic/internal/index.d.ts +382 -354
  24. package/System.Collections.Generic/internal/metadata.json +5 -54
  25. package/System.Collections.Immutable/internal/index.d.ts +321 -319
  26. package/System.Collections.Immutable/internal/metadata.json +5 -40
  27. package/System.Collections.ObjectModel/internal/index.d.ts +83 -79
  28. package/System.Collections.ObjectModel/internal/metadata.json +1 -36
  29. package/System.Collections.Specialized/internal/index.d.ts +104 -96
  30. package/System.ComponentModel/internal/index.d.ts +661 -631
  31. package/System.ComponentModel/internal/metadata.json +0 -7
  32. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +60 -58
  33. package/System.ComponentModel.Design/bindings.json +2 -2
  34. package/System.ComponentModel.Design/internal/index.d.ts +207 -193
  35. package/System.ComponentModel.Design/internal/metadata.json +1 -1
  36. package/System.ComponentModel.Design.Serialization/index.d.ts +2 -2
  37. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +103 -98
  38. package/System.Configuration.Assemblies/bindings.json +10 -10
  39. package/System.Configuration.Assemblies/internal/index.d.ts +5 -5
  40. package/System.Configuration.Assemblies/internal/metadata.json +5 -5
  41. package/System.Data/internal/index.d.ts +481 -453
  42. package/System.Data.Common/internal/index.d.ts +149 -121
  43. package/System.Data.SqlTypes/bindings.json +2 -2
  44. package/System.Data.SqlTypes/internal/index.d.ts +331 -299
  45. package/System.Data.SqlTypes/internal/metadata.json +1 -1
  46. package/System.Diagnostics/bindings.json +6 -6
  47. package/System.Diagnostics/internal/index.d.ts +333 -313
  48. package/System.Diagnostics/internal/metadata.json +3 -10
  49. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +16 -16
  50. package/System.Diagnostics.Contracts/internal/index.d.ts +21 -21
  51. package/System.Diagnostics.Metrics/internal/index.d.ts +81 -75
  52. package/System.Diagnostics.SymbolStore/bindings.json +6 -6
  53. package/System.Diagnostics.SymbolStore/internal/index.d.ts +72 -72
  54. package/System.Diagnostics.SymbolStore/internal/metadata.json +3 -3
  55. package/System.Diagnostics.Tracing/internal/index.d.ts +24 -18
  56. package/System.Drawing/bindings.json +24 -24
  57. package/System.Drawing/internal/index.d.ts +281 -281
  58. package/System.Drawing/internal/metadata.json +12 -12
  59. package/System.Dynamic/internal/index.d.ts +46 -42
  60. package/System.Formats.Asn1/bindings.json +12 -12
  61. package/System.Formats.Asn1/internal/index.d.ts +50 -48
  62. package/System.Formats.Asn1/internal/metadata.json +6 -6
  63. package/System.Formats.Tar/bindings.json +2 -2
  64. package/System.Formats.Tar/internal/index.d.ts +17 -13
  65. package/System.Formats.Tar/internal/metadata.json +1 -1
  66. package/System.Globalization/bindings.json +8 -8
  67. package/System.Globalization/internal/index.d.ts +177 -163
  68. package/System.Globalization/internal/metadata.json +4 -4
  69. package/System.IO/internal/index.d.ts +457 -439
  70. package/System.IO.Compression/internal/index.d.ts +78 -72
  71. package/System.IO.Enumeration/internal/index.d.ts +22 -22
  72. package/System.IO.IsolatedStorage/internal/index.d.ts +26 -24
  73. package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -20
  74. package/System.IO.Pipelines/internal/index.d.ts +15 -13
  75. package/System.IO.Pipes/internal/index.d.ts +23 -23
  76. package/System.Linq/internal/index.d.ts +853 -845
  77. package/System.Linq/internal/metadata.json +0 -17
  78. package/System.Linq.Expressions/internal/index.d.ts +354 -340
  79. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
  80. package/System.Net/bindings.json +2 -2
  81. package/System.Net/internal/index.d.ts +351 -317
  82. package/System.Net/internal/metadata.json +1 -1
  83. package/System.Net.Http/internal/index.d.ts +64 -54
  84. package/System.Net.Http.Headers/bindings.json +2 -2
  85. package/System.Net.Http.Headers/internal/index.d.ts +139 -99
  86. package/System.Net.Http.Headers/internal/metadata.json +1 -1
  87. package/System.Net.Http.Json/internal/index.d.ts +63 -63
  88. package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
  89. package/System.Net.Mail/bindings.json +2 -2
  90. package/System.Net.Mail/internal/index.d.ts +90 -78
  91. package/System.Net.Mail/internal/metadata.json +4 -32
  92. package/System.Net.Mime/internal/index.d.ts +51 -51
  93. package/System.Net.NetworkInformation/internal/index.d.ts +59 -57
  94. package/System.Net.Quic/internal/index.d.ts +15 -11
  95. package/System.Net.Security/bindings.json +674 -674
  96. package/System.Net.Security/internal/index.d.ts +396 -394
  97. package/System.Net.Security/internal/metadata.json +337 -337
  98. package/System.Net.ServerSentEvents/internal/index.d.ts +10 -10
  99. package/System.Net.Sockets/bindings.json +10 -10
  100. package/System.Net.Sockets/internal/index.d.ts +100 -90
  101. package/System.Net.Sockets/internal/metadata.json +5 -5
  102. package/System.Net.WebSockets/internal/index.d.ts +21 -19
  103. package/System.Numerics/bindings.json +110 -110
  104. package/System.Numerics/internal/index.d.ts +1057 -1039
  105. package/System.Numerics/internal/metadata.json +55 -89
  106. package/System.Reflection/bindings.json +25 -25
  107. package/System.Reflection/internal/index.d.ts +336 -316
  108. package/System.Reflection/internal/metadata.json +12 -12
  109. package/System.Reflection.Emit/bindings.json +307 -307
  110. package/System.Reflection.Emit/internal/index.d.ts +242 -236
  111. package/System.Reflection.Emit/internal/metadata.json +152 -152
  112. package/System.Reflection.Metadata/bindings.json +272 -272
  113. package/System.Reflection.Metadata/internal/index.d.ts +448 -438
  114. package/System.Reflection.Metadata/internal/metadata.json +164 -360
  115. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +91 -91
  116. package/System.Reflection.PortableExecutable/bindings.json +26 -26
  117. package/System.Reflection.PortableExecutable/internal/index.d.ts +22 -20
  118. package/System.Reflection.PortableExecutable/internal/metadata.json +13 -13
  119. package/System.Resources/internal/index.d.ts +30 -24
  120. package/System.Runtime/internal/index.d.ts +20 -16
  121. package/System.Runtime.CompilerServices/bindings.json +4 -4
  122. package/System.Runtime.CompilerServices/internal/index.d.ts +233 -209
  123. package/System.Runtime.CompilerServices/internal/metadata.json +2 -2
  124. package/System.Runtime.ExceptionServices/internal/index.d.ts +6 -6
  125. package/System.Runtime.InteropServices/bindings.json +146 -146
  126. package/System.Runtime.InteropServices/internal/index.d.ts +604 -586
  127. package/System.Runtime.InteropServices/internal/metadata.json +73 -130
  128. package/System.Runtime.InteropServices.ComTypes/bindings.json +252 -252
  129. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +296 -292
  130. package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +126 -126
  131. package/System.Runtime.InteropServices.Java/internal/index.d.ts +12 -12
  132. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +60 -58
  133. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +102 -94
  134. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +9 -9
  135. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -1
  136. package/System.Runtime.Intrinsics/internal/index.d.ts +1252 -1244
  137. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +9662 -9662
  138. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -471
  139. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +16033 -16033
  140. package/System.Runtime.Loader/internal/index.d.ts +9 -7
  141. package/System.Runtime.Remoting/internal/index.d.ts +2 -2
  142. package/System.Runtime.Serialization/internal/index.d.ts +179 -171
  143. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +5 -5
  144. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  145. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -3
  146. package/System.Runtime.Serialization.Json/internal/index.d.ts +27 -27
  147. package/System.Runtime.Versioning/internal/index.d.ts +4 -4
  148. package/System.Security/internal/index.d.ts +45 -39
  149. package/System.Security.AccessControl/internal/index.d.ts +28 -26
  150. package/System.Security.Authentication/internal/index.d.ts +2 -2
  151. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -7
  152. package/System.Security.Claims/internal/index.d.ts +94 -90
  153. package/System.Security.Cryptography/bindings.json +111 -111
  154. package/System.Security.Cryptography/internal/index.d.ts +842 -794
  155. package/System.Security.Cryptography/internal/metadata.json +52 -59
  156. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +121 -113
  157. package/System.Security.Policy/internal/index.d.ts +6 -6
  158. package/System.Security.Principal/internal/index.d.ts +36 -30
  159. package/System.Text/bindings.json +28 -28
  160. package/System.Text/internal/index.d.ts +325 -319
  161. package/System.Text/internal/metadata.json +4 -4
  162. package/System.Text.Encodings.Web/internal/index.d.ts +18 -18
  163. package/System.Text.Json/internal/index.d.ts +184 -180
  164. package/System.Text.Json.Nodes/internal/index.d.ts +54 -54
  165. package/System.Text.Json.Schema/internal/index.d.ts +3 -3
  166. package/System.Text.Json.Serialization/internal/index.d.ts +12 -12
  167. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +85 -83
  168. package/System.Text.RegularExpressions/internal/index.d.ts +91 -89
  169. package/System.Text.RegularExpressions/internal/metadata.json +5 -40
  170. package/System.Text.Unicode/internal/index.d.ts +171 -171
  171. package/System.Threading/bindings.json +4 -4
  172. package/System.Threading/internal/index.d.ts +411 -377
  173. package/System.Threading/internal/metadata.json +2 -2
  174. package/System.Threading.Channels/internal/index.d.ts +8 -8
  175. package/System.Threading.Tasks/internal/index.d.ts +209 -205
  176. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +106 -102
  177. package/System.Threading.Tasks.Dataflow/internal/metadata.json +0 -42
  178. package/System.Threading.Tasks.Sources/internal/index.d.ts +7 -7
  179. package/System.Timers/internal/index.d.ts +11 -9
  180. package/System.Transactions/internal/index.d.ts +83 -67
  181. package/System.Web/internal/index.d.ts +31 -31
  182. package/System.Windows.Input/internal/index.d.ts +2 -2
  183. package/System.Xml/bindings.json +35 -35
  184. package/System.Xml/internal/index.d.ts +343 -325
  185. package/System.Xml/internal/metadata.json +17 -17
  186. package/System.Xml.Linq/internal/index.d.ts +122 -110
  187. package/System.Xml.Resolvers/internal/index.d.ts +3 -3
  188. package/System.Xml.Schema/internal/index.d.ts +71 -71
  189. package/System.Xml.Serialization/internal/index.d.ts +120 -120
  190. package/System.Xml.XPath/internal/index.d.ts +40 -34
  191. package/System.Xml.Xsl/internal/index.d.ts +27 -27
  192. package/System.Xml.Xsl.Runtime/internal/index.d.ts +99 -99
  193. package/__internal/extensions/index.d.ts +2294 -0
  194. package/package.json +1 -1
  195. package/internal/extensions/index.d.ts +0 -2280
@@ -124,7 +124,7 @@ export class JsonElement$instance {
124
124
  getInt32(): int;
125
125
  getInt64(): long;
126
126
  getProperty(propertyName: string): JsonElement;
127
- getProperty(propertyName: ReadOnlySpan_1<CLROf<string>>): JsonElement;
127
+ getProperty(propertyName: ReadOnlySpan_1<CLROf<char>>): JsonElement;
128
128
  getProperty(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>): JsonElement;
129
129
  getPropertyCount(): int;
130
130
  getRawText(): string;
@@ -146,7 +146,7 @@ export class JsonElement$instance {
146
146
  tryGetInt32(value: { value: ref<int> }): boolean;
147
147
  tryGetInt64(value: { value: ref<long> }): boolean;
148
148
  tryGetProperty(propertyName: string, value: { value: ref<JsonElement> }): boolean;
149
- tryGetProperty(propertyName: ReadOnlySpan_1<CLROf<string>>, value: { value: ref<JsonElement> }): boolean;
149
+ tryGetProperty(propertyName: ReadOnlySpan_1<CLROf<char>>, value: { value: ref<JsonElement> }): boolean;
150
150
  tryGetProperty(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<JsonElement> }): boolean;
151
151
  tryGetSByte(value: { value: ref<sbyte> }): boolean;
152
152
  tryGetSingle(value: { value: ref<float> }): boolean;
@@ -155,20 +155,20 @@ export class JsonElement$instance {
155
155
  tryGetUInt64(value: { value: ref<ulong> }): boolean;
156
156
  valueEquals(text: string): boolean;
157
157
  valueEquals(utf8Text: ReadOnlySpan_1<CLROf<byte>>): boolean;
158
- valueEquals(text: ReadOnlySpan_1<CLROf<string>>): boolean;
158
+ valueEquals(text: ReadOnlySpan_1<CLROf<char>>): boolean;
159
159
  writeTo(writer: Utf8JsonWriter): void;
160
- static DeepEquals(element1: JsonElement, element2: JsonElement): boolean;
161
- static Parse(utf8Json: ReadOnlySpan_1<CLROf<byte>>, options?: JsonDocumentOptions): JsonElement;
162
- static Parse(json: ReadOnlySpan_1<CLROf<string>>, options?: JsonDocumentOptions): JsonElement;
163
- static Parse(json: string, options?: JsonDocumentOptions): JsonElement;
164
- static ParseValue(reader: { value: ref<Utf8JsonReader> }): JsonElement;
165
- static TryParseValue(reader: { value: ref<Utf8JsonReader> }, element: { value: ref<Nullable_1<JsonElement>> }): boolean;
160
+ static deepEquals(element1: JsonElement, element2: JsonElement): boolean;
161
+ static parse(utf8Json: ReadOnlySpan_1<CLROf<byte>>, options?: JsonDocumentOptions): JsonElement;
162
+ static parse(json: ReadOnlySpan_1<CLROf<char>>, options?: JsonDocumentOptions): JsonElement;
163
+ static parse(json: string, options?: JsonDocumentOptions): JsonElement;
164
+ static parseValue(reader: { value: ref<Utf8JsonReader> }): JsonElement;
165
+ static tryParseValue(reader: { value: ref<Utf8JsonReader> }, element: { value: ref<Nullable_1<JsonElement>> }): boolean;
166
166
  }
167
167
 
168
168
 
169
169
  export type JsonElement = JsonElement$instance;
170
170
 
171
- export class JsonElement_ArrayEnumerator$instance {
171
+ export class JsonElement_ArrayEnumerator$instance implements IDisposable {
172
172
  readonly current: JsonElement;
173
173
  dispose(): void;
174
174
  getEnumerator(): JsonElement_ArrayEnumerator;
@@ -178,16 +178,16 @@ export class JsonElement_ArrayEnumerator$instance {
178
178
 
179
179
 
180
180
  export interface __JsonElement_ArrayEnumerator$views {
181
- readonly As_IEnumerable_1_of_Char: System_Collections_Generic_Internal.IEnumerable_1$instance<JsonElement>;
182
- readonly As_IEnumerator_1: System_Collections_Generic_Internal.IEnumerator_1$instance<JsonElement>;
183
- readonly As_IEnumerable: System_Collections_Internal.IEnumerable$instance;
184
- readonly As_IEnumerator: System_Collections_Internal.IEnumerator$instance;
181
+ As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<JsonElement>;
182
+ As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<JsonElement>;
183
+ As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
184
+ As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
185
185
  }
186
186
 
187
187
  export type JsonElement_ArrayEnumerator = JsonElement_ArrayEnumerator$instance & __JsonElement_ArrayEnumerator$views;
188
188
 
189
189
 
190
- export class JsonElement_ObjectEnumerator$instance {
190
+ export class JsonElement_ObjectEnumerator$instance implements IDisposable {
191
191
  readonly current: JsonProperty;
192
192
  dispose(): void;
193
193
  getEnumerator(): JsonElement_ObjectEnumerator;
@@ -197,10 +197,10 @@ export class JsonElement_ObjectEnumerator$instance {
197
197
 
198
198
 
199
199
  export interface __JsonElement_ObjectEnumerator$views {
200
- readonly As_IEnumerable_1_of_Char: System_Collections_Generic_Internal.IEnumerable_1$instance<JsonProperty>;
201
- readonly As_IEnumerator_1: System_Collections_Generic_Internal.IEnumerator_1$instance<JsonProperty>;
202
- readonly As_IEnumerable: System_Collections_Internal.IEnumerable$instance;
203
- readonly As_IEnumerator: System_Collections_Internal.IEnumerator$instance;
200
+ As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<JsonProperty>;
201
+ As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<JsonProperty>;
202
+ As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
203
+ As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
204
204
  }
205
205
 
206
206
  export type JsonElement_ObjectEnumerator = JsonElement_ObjectEnumerator$instance & __JsonElement_ObjectEnumerator$views;
@@ -210,17 +210,17 @@ export class JsonEncodedText$instance {
210
210
  readonly encodedUtf8Bytes: ReadOnlySpan_1<CLROf<byte>>;
211
211
  readonly value: string;
212
212
  equals(other: JsonEncodedText): boolean;
213
- equals(obj: any): boolean;
213
+ equals(obj: unknown): boolean;
214
214
  getHashCode(): int;
215
215
  toString(): string;
216
- static Encode(utf8Value: ReadOnlySpan_1<CLROf<byte>>, encoder?: JavaScriptEncoder): JsonEncodedText;
217
- static Encode(value: ReadOnlySpan_1<CLROf<string>>, encoder?: JavaScriptEncoder): JsonEncodedText;
218
- static Encode(value: string, encoder?: JavaScriptEncoder): JsonEncodedText;
216
+ static encode3(utf8Value: ReadOnlySpan_1<CLROf<byte>>, encoder?: JavaScriptEncoder): JsonEncodedText;
217
+ static encode3(value: ReadOnlySpan_1<CLROf<char>>, encoder?: JavaScriptEncoder): JsonEncodedText;
218
+ static encode3(value: string, encoder?: JavaScriptEncoder): JsonEncodedText;
219
219
  }
220
220
 
221
221
 
222
222
  export interface __JsonEncodedText$views {
223
- readonly As_IEquatable_1_of_ConsoleKeyInfo: System_Internal.IEquatable_1$instance<JsonEncodedText>;
223
+ As_IEquatable_1(): System_Internal.IEquatable_1$instance<JsonEncodedText>;
224
224
 
225
225
  // Structural method bridges for numeric interface constraints
226
226
  Equals(other: JsonEncodedText): boolean;
@@ -234,7 +234,7 @@ export class JsonProperty$instance {
234
234
  readonly value: JsonElement;
235
235
  nameEquals(text: string): boolean;
236
236
  nameEquals(utf8Text: ReadOnlySpan_1<CLROf<byte>>): boolean;
237
- nameEquals(text: ReadOnlySpan_1<CLROf<string>>): boolean;
237
+ nameEquals(text: ReadOnlySpan_1<CLROf<char>>): boolean;
238
238
  toString(): string;
239
239
  writeTo(writer: Utf8JsonWriter): void;
240
240
  }
@@ -262,7 +262,7 @@ export type JsonReaderState = JsonReaderState$instance;
262
262
 
263
263
  export class JsonWriterOptions$instance {
264
264
  encoder: JavaScriptEncoder;
265
- indentCharacter: string;
265
+ indentCharacter: char;
266
266
  indented: boolean;
267
267
  indentSize: int;
268
268
  maxDepth: int;
@@ -290,7 +290,7 @@ export class Utf8JsonReader$instance {
290
290
  readonly valueSequence: ReadOnlySequence_1<CLROf<byte>>;
291
291
  readonly valueSpan: ReadOnlySpan_1<CLROf<byte>>;
292
292
  copyString(utf8Destination: Span_1<CLROf<byte>>): int;
293
- copyString(destination: Span_1<CLROf<string>>): int;
293
+ copyString(destination: Span_1<CLROf<char>>): int;
294
294
  getBoolean(): boolean;
295
295
  getByte(): byte;
296
296
  getBytesFromBase64(): byte[];
@@ -329,7 +329,7 @@ export class Utf8JsonReader$instance {
329
329
  trySkip(): boolean;
330
330
  valueTextEquals(utf8Text: ReadOnlySpan_1<CLROf<byte>>): boolean;
331
331
  valueTextEquals(text: string): boolean;
332
- valueTextEquals(text: ReadOnlySpan_1<CLROf<string>>): boolean;
332
+ valueTextEquals(text: ReadOnlySpan_1<CLROf<char>>): boolean;
333
333
  }
334
334
 
335
335
 
@@ -339,21 +339,23 @@ export class JsonDocument$instance {
339
339
  readonly rootElement: JsonElement;
340
340
  dispose(): void;
341
341
  writeTo(writer: Utf8JsonWriter): void;
342
- static Parse(utf8Json: ReadOnlySequence_1<CLROf<byte>>, options?: JsonDocumentOptions): JsonDocument;
343
- static Parse(utf8Json: Stream, options?: JsonDocumentOptions): JsonDocument;
344
- static Parse(utf8Json: ReadOnlyMemory_1<CLROf<byte>>, options?: JsonDocumentOptions): JsonDocument;
345
- static Parse(json: ReadOnlyMemory_1<CLROf<string>>, options?: JsonDocumentOptions): JsonDocument;
346
- static Parse(json: string, options?: JsonDocumentOptions): JsonDocument;
347
- static ParseAsync(utf8Json: Stream, options?: JsonDocumentOptions, cancellationToken?: CancellationToken): Task_1<JsonDocument>;
348
- static ParseValue(reader: { value: ref<Utf8JsonReader> }): JsonDocument;
349
- static TryParseValue(reader: { value: ref<Utf8JsonReader> }, document: { value: ref<JsonDocument> }): boolean;
342
+ static parse2(utf8Json: ReadOnlySequence_1<CLROf<byte>>, options?: JsonDocumentOptions): JsonDocument;
343
+ static parse2(utf8Json: Stream, options?: JsonDocumentOptions): JsonDocument;
344
+ static parse2(utf8Json: ReadOnlyMemory_1<CLROf<byte>>, options?: JsonDocumentOptions): JsonDocument;
345
+ static parse2(json: ReadOnlyMemory_1<CLROf<char>>, options?: JsonDocumentOptions): JsonDocument;
346
+ static parse2(json: string, options?: JsonDocumentOptions): JsonDocument;
347
+ static parseAsync(utf8Json: Stream, options?: JsonDocumentOptions, cancellationToken?: CancellationToken): Task_1<JsonDocument>;
348
+ static parseValue(reader: { value: ref<Utf8JsonReader> }): JsonDocument;
349
+ static tryParseValue(reader: { value: ref<Utf8JsonReader> }, document: { value: ref<JsonDocument> }): boolean;
350
350
  }
351
351
 
352
352
 
353
353
  export interface __JsonDocument$views {
354
- readonly As_IDisposable: System_Internal.IDisposable$instance;
354
+ As_IDisposable(): System_Internal.IDisposable$instance;
355
355
  }
356
356
 
357
+ export interface JsonDocument$instance extends System_Internal.IDisposable$instance {}
358
+
357
359
  export type JsonDocument = JsonDocument$instance & __JsonDocument$views;
358
360
 
359
361
 
@@ -372,7 +374,7 @@ export class JsonException$instance extends System_Internal.Exception$instance {
372
374
 
373
375
 
374
376
  export interface __JsonException$views {
375
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
377
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
376
378
  }
377
379
 
378
380
  export type JsonException = JsonException$instance & __JsonException$views;
@@ -380,11 +382,11 @@ export type JsonException = JsonException$instance & __JsonException$views;
380
382
 
381
383
  export abstract class JsonNamingPolicy$instance {
382
384
  abstract convertName(name: string): string;
383
- static readonly CamelCase: JsonNamingPolicy;
384
- static readonly SnakeCaseLower: JsonNamingPolicy;
385
- static readonly SnakeCaseUpper: JsonNamingPolicy;
386
- static readonly KebabCaseLower: JsonNamingPolicy;
387
- static readonly KebabCaseUpper: JsonNamingPolicy;
385
+ static readonly camelCase: JsonNamingPolicy;
386
+ static readonly snakeCaseLower: JsonNamingPolicy;
387
+ static readonly snakeCaseUpper: JsonNamingPolicy;
388
+ static readonly kebabCaseLower: JsonNamingPolicy;
389
+ static readonly kebabCaseUpper: JsonNamingPolicy;
388
390
  }
389
391
 
390
392
 
@@ -406,7 +408,7 @@ export class JsonSerializerOptions$instance {
406
408
  ignoreReadOnlyFields: boolean;
407
409
  ignoreReadOnlyProperties: boolean;
408
410
  includeFields: boolean;
409
- indentCharacter: string;
411
+ indentCharacter: char;
410
412
  indentSize: int;
411
413
  readonly isReadOnly: boolean;
412
414
  maxDepth: int;
@@ -430,9 +432,9 @@ export class JsonSerializerOptions$instance {
430
432
  makeReadOnly(): void;
431
433
  makeReadOnly(populateMissingResolver: boolean): void;
432
434
  tryGetTypeInfo(type_: Type, typeInfo: { value: ref<JsonTypeInfo> }): boolean;
433
- static readonly Default: JsonSerializerOptions;
434
- static readonly Web: JsonSerializerOptions;
435
- static readonly Strict: JsonSerializerOptions;
435
+ static readonly default_: JsonSerializerOptions;
436
+ static readonly web: JsonSerializerOptions;
437
+ static readonly strict: JsonSerializerOptions;
436
438
  }
437
439
 
438
440
 
@@ -454,52 +456,52 @@ export class Utf8JsonWriter$instance {
454
456
  reset(bufferWriter: IBufferWriter_1<CLROf<byte>>): void;
455
457
  writeBase64String(propertyName: JsonEncodedText, bytes: ReadOnlySpan_1<CLROf<byte>>): void;
456
458
  writeBase64String(propertyName: string, bytes: ReadOnlySpan_1<CLROf<byte>>): void;
457
- writeBase64String(propertyName: ReadOnlySpan_1<CLROf<string>>, bytes: ReadOnlySpan_1<CLROf<byte>>): void;
459
+ writeBase64String(propertyName: ReadOnlySpan_1<CLROf<char>>, bytes: ReadOnlySpan_1<CLROf<byte>>): void;
458
460
  writeBase64String(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, bytes: ReadOnlySpan_1<CLROf<byte>>): void;
459
461
  writeBase64StringSegment(value: ReadOnlySpan_1<CLROf<byte>>, isFinalSegment: boolean): void;
460
462
  writeBase64StringValue(bytes: ReadOnlySpan_1<CLROf<byte>>): void;
461
463
  writeBoolean(propertyName: JsonEncodedText, value: boolean): void;
462
464
  writeBoolean(propertyName: string, value: boolean): void;
463
- writeBoolean(propertyName: ReadOnlySpan_1<CLROf<string>>, value: boolean): void;
465
+ writeBoolean(propertyName: ReadOnlySpan_1<CLROf<char>>, value: boolean): void;
464
466
  writeBoolean(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, value: boolean): void;
465
467
  writeBooleanValue(value: boolean): void;
466
468
  writeCommentValue(value: string): void;
467
- writeCommentValue(value: ReadOnlySpan_1<CLROf<string>>): void;
469
+ writeCommentValue(value: ReadOnlySpan_1<CLROf<char>>): void;
468
470
  writeCommentValue(utf8Value: ReadOnlySpan_1<CLROf<byte>>): void;
469
471
  writeEndArray(): void;
470
472
  writeEndObject(): void;
471
473
  writeNull(propertyName: JsonEncodedText): void;
472
474
  writeNull(propertyName: string): void;
473
- writeNull(propertyName: ReadOnlySpan_1<CLROf<string>>): void;
475
+ writeNull(propertyName: ReadOnlySpan_1<CLROf<char>>): void;
474
476
  writeNull(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>): void;
475
477
  writeNullValue(): void;
476
478
  writeNumber(propertyName: JsonEncodedText, value: decimal): void;
477
479
  writeNumber(propertyName: string, value: decimal): void;
478
- writeNumber(propertyName: ReadOnlySpan_1<CLROf<string>>, value: decimal): void;
480
+ writeNumber(propertyName: ReadOnlySpan_1<CLROf<char>>, value: decimal): void;
479
481
  writeNumber(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, value: decimal): void;
480
482
  writeNumber(propertyName: JsonEncodedText, value: double): void;
481
483
  writeNumber(propertyName: string, value: double): void;
482
- writeNumber(propertyName: ReadOnlySpan_1<CLROf<string>>, value: double): void;
484
+ writeNumber(propertyName: ReadOnlySpan_1<CLROf<char>>, value: double): void;
483
485
  writeNumber(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, value: double): void;
484
486
  writeNumber(propertyName: JsonEncodedText, value: float): void;
485
487
  writeNumber(propertyName: string, value: float): void;
486
- writeNumber(propertyName: ReadOnlySpan_1<CLROf<string>>, value: float): void;
488
+ writeNumber(propertyName: ReadOnlySpan_1<CLROf<char>>, value: float): void;
487
489
  writeNumber(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, value: float): void;
488
490
  writeNumber(propertyName: JsonEncodedText, value: long): void;
489
491
  writeNumber(propertyName: string, value: long): void;
490
- writeNumber(propertyName: ReadOnlySpan_1<CLROf<string>>, value: long): void;
492
+ writeNumber(propertyName: ReadOnlySpan_1<CLROf<char>>, value: long): void;
491
493
  writeNumber(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, value: long): void;
492
494
  writeNumber(propertyName: JsonEncodedText, value: int): void;
493
495
  writeNumber(propertyName: string, value: int): void;
494
- writeNumber(propertyName: ReadOnlySpan_1<CLROf<string>>, value: int): void;
496
+ writeNumber(propertyName: ReadOnlySpan_1<CLROf<char>>, value: int): void;
495
497
  writeNumber(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, value: int): void;
496
498
  writeNumber(propertyName: JsonEncodedText, value: ulong): void;
497
499
  writeNumber(propertyName: string, value: ulong): void;
498
- writeNumber(propertyName: ReadOnlySpan_1<CLROf<string>>, value: ulong): void;
500
+ writeNumber(propertyName: ReadOnlySpan_1<CLROf<char>>, value: ulong): void;
499
501
  writeNumber(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, value: ulong): void;
500
502
  writeNumber(propertyName: JsonEncodedText, value: uint): void;
501
503
  writeNumber(propertyName: string, value: uint): void;
502
- writeNumber(propertyName: ReadOnlySpan_1<CLROf<string>>, value: uint): void;
504
+ writeNumber(propertyName: ReadOnlySpan_1<CLROf<char>>, value: uint): void;
503
505
  writeNumber(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, value: uint): void;
504
506
  writeNumberValue(value: decimal): void;
505
507
  writeNumberValue(value: double): void;
@@ -510,48 +512,48 @@ export class Utf8JsonWriter$instance {
510
512
  writeNumberValue(value: ulong): void;
511
513
  writePropertyName(propertyName: JsonEncodedText): void;
512
514
  writePropertyName(propertyName: string): void;
513
- writePropertyName(propertyName: ReadOnlySpan_1<CLROf<string>>): void;
515
+ writePropertyName(propertyName: ReadOnlySpan_1<CLROf<char>>): void;
514
516
  writePropertyName(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>): void;
515
517
  writeRawValue(json: string, skipInputValidation?: boolean): void;
516
- writeRawValue(json: ReadOnlySpan_1<CLROf<string>>, skipInputValidation?: boolean): void;
518
+ writeRawValue(json: ReadOnlySpan_1<CLROf<char>>, skipInputValidation?: boolean): void;
517
519
  writeRawValue(utf8Json: ReadOnlySpan_1<CLROf<byte>>, skipInputValidation?: boolean): void;
518
520
  writeRawValue(utf8Json: ReadOnlySequence_1<CLROf<byte>>, skipInputValidation?: boolean): void;
519
521
  writeStartArray(): void;
520
522
  writeStartArray(propertyName: JsonEncodedText): void;
521
523
  writeStartArray(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>): void;
522
524
  writeStartArray(propertyName: string): void;
523
- writeStartArray(propertyName: ReadOnlySpan_1<CLROf<string>>): void;
525
+ writeStartArray(propertyName: ReadOnlySpan_1<CLROf<char>>): void;
524
526
  writeStartObject(): void;
525
527
  writeStartObject(propertyName: JsonEncodedText): void;
526
528
  writeStartObject(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>): void;
527
529
  writeStartObject(propertyName: string): void;
528
- writeStartObject(propertyName: ReadOnlySpan_1<CLROf<string>>): void;
530
+ writeStartObject(propertyName: ReadOnlySpan_1<CLROf<char>>): void;
529
531
  writeString(propertyName: JsonEncodedText, value: DateTime): void;
530
532
  writeString(propertyName: string, value: DateTime): void;
531
- writeString(propertyName: ReadOnlySpan_1<CLROf<string>>, value: DateTime): void;
533
+ writeString(propertyName: ReadOnlySpan_1<CLROf<char>>, value: DateTime): void;
532
534
  writeString(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, value: DateTime): void;
533
535
  writeString(propertyName: JsonEncodedText, value: DateTimeOffset): void;
534
536
  writeString(propertyName: string, value: DateTimeOffset): void;
535
- writeString(propertyName: ReadOnlySpan_1<CLROf<string>>, value: DateTimeOffset): void;
537
+ writeString(propertyName: ReadOnlySpan_1<CLROf<char>>, value: DateTimeOffset): void;
536
538
  writeString(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, value: DateTimeOffset): void;
537
539
  writeString(propertyName: JsonEncodedText, value: Guid): void;
538
540
  writeString(propertyName: string, value: Guid): void;
539
- writeString(propertyName: ReadOnlySpan_1<CLROf<string>>, value: Guid): void;
541
+ writeString(propertyName: ReadOnlySpan_1<CLROf<char>>, value: Guid): void;
540
542
  writeString(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, value: Guid): void;
541
543
  writeString(propertyName: JsonEncodedText, value: JsonEncodedText): void;
542
544
  writeString(propertyName: string, value: JsonEncodedText): void;
543
545
  writeString(propertyName: string, value: string): void;
544
- writeString(propertyName: ReadOnlySpan_1<CLROf<string>>, value: ReadOnlySpan_1<CLROf<string>>): void;
546
+ writeString(propertyName: ReadOnlySpan_1<CLROf<char>>, value: ReadOnlySpan_1<CLROf<char>>): void;
545
547
  writeString(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, utf8Value: ReadOnlySpan_1<CLROf<byte>>): void;
546
548
  writeString(propertyName: JsonEncodedText, value: string): void;
547
- writeString(propertyName: JsonEncodedText, value: ReadOnlySpan_1<CLROf<string>>): void;
548
- writeString(propertyName: string, value: ReadOnlySpan_1<CLROf<string>>): void;
549
- writeString(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, value: ReadOnlySpan_1<CLROf<string>>): void;
549
+ writeString(propertyName: JsonEncodedText, value: ReadOnlySpan_1<CLROf<char>>): void;
550
+ writeString(propertyName: string, value: ReadOnlySpan_1<CLROf<char>>): void;
551
+ writeString(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, value: ReadOnlySpan_1<CLROf<char>>): void;
550
552
  writeString(propertyName: JsonEncodedText, utf8Value: ReadOnlySpan_1<CLROf<byte>>): void;
551
553
  writeString(propertyName: string, utf8Value: ReadOnlySpan_1<CLROf<byte>>): void;
552
- writeString(propertyName: ReadOnlySpan_1<CLROf<string>>, utf8Value: ReadOnlySpan_1<CLROf<byte>>): void;
553
- writeString(propertyName: ReadOnlySpan_1<CLROf<string>>, value: JsonEncodedText): void;
554
- writeString(propertyName: ReadOnlySpan_1<CLROf<string>>, value: string): void;
554
+ writeString(propertyName: ReadOnlySpan_1<CLROf<char>>, utf8Value: ReadOnlySpan_1<CLROf<byte>>): void;
555
+ writeString(propertyName: ReadOnlySpan_1<CLROf<char>>, value: JsonEncodedText): void;
556
+ writeString(propertyName: ReadOnlySpan_1<CLROf<char>>, value: string): void;
555
557
  writeString(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, value: JsonEncodedText): void;
556
558
  writeString(utf8PropertyName: ReadOnlySpan_1<CLROf<byte>>, value: string): void;
557
559
  writeStringValue(value: DateTime): void;
@@ -559,126 +561,128 @@ export class Utf8JsonWriter$instance {
559
561
  writeStringValue(value: Guid): void;
560
562
  writeStringValue(value: JsonEncodedText): void;
561
563
  writeStringValue(value: string): void;
562
- writeStringValue(value: ReadOnlySpan_1<CLROf<string>>): void;
564
+ writeStringValue(value: ReadOnlySpan_1<CLROf<char>>): void;
563
565
  writeStringValue(utf8Value: ReadOnlySpan_1<CLROf<byte>>): void;
564
- writeStringValueSegment(value: ReadOnlySpan_1<CLROf<string>>, isFinalSegment: boolean): void;
566
+ writeStringValueSegment(value: ReadOnlySpan_1<CLROf<char>>, isFinalSegment: boolean): void;
565
567
  writeStringValueSegment(value: ReadOnlySpan_1<CLROf<byte>>, isFinalSegment: boolean): void;
566
568
  }
567
569
 
568
570
 
569
571
  export interface __Utf8JsonWriter$views {
570
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
571
- readonly As_IDisposable: System_Internal.IDisposable$instance;
572
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
573
+ As_IDisposable(): System_Internal.IDisposable$instance;
572
574
  }
573
575
 
576
+ export interface Utf8JsonWriter$instance extends System_Internal.IAsyncDisposable$instance, System_Internal.IDisposable$instance {}
577
+
574
578
  export type Utf8JsonWriter = Utf8JsonWriter$instance & __Utf8JsonWriter$views;
575
579
 
576
580
 
577
581
  export abstract class JsonSerializer$instance {
578
- static readonly IsReflectionEnabledByDefault: boolean;
579
- static Deserialize<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
580
- static Deserialize<TValue>(utf8Json: Stream, options?: JsonSerializerOptions): TValue;
581
- static Deserialize(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo): any;
582
- static Deserialize(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions): any;
583
- static Deserialize(utf8Json: Stream, returnType: Type, context: JsonSerializerContext): any;
584
- static Deserialize<TValue>(utf8Json: ReadOnlySpan_1<CLROf<byte>>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
585
- static Deserialize<TValue>(utf8Json: ReadOnlySpan_1<CLROf<byte>>, options?: JsonSerializerOptions): TValue;
586
- static Deserialize(utf8Json: ReadOnlySpan_1<CLROf<byte>>, jsonTypeInfo: JsonTypeInfo): any;
587
- static Deserialize(utf8Json: ReadOnlySpan_1<CLROf<byte>>, returnType: Type, options?: JsonSerializerOptions): any;
588
- static Deserialize(utf8Json: ReadOnlySpan_1<CLROf<byte>>, returnType: Type, context: JsonSerializerContext): any;
589
- static Deserialize<TValue>(json: ReadOnlySpan_1<CLROf<string>>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
590
- static Deserialize<TValue>(json: ReadOnlySpan_1<CLROf<string>>, options?: JsonSerializerOptions): TValue;
591
- static Deserialize(json: ReadOnlySpan_1<CLROf<string>>, jsonTypeInfo: JsonTypeInfo): any;
592
- static Deserialize(json: ReadOnlySpan_1<CLROf<string>>, returnType: Type, options?: JsonSerializerOptions): any;
593
- static Deserialize(json: ReadOnlySpan_1<CLROf<string>>, returnType: Type, context: JsonSerializerContext): any;
594
- static Deserialize<TValue>(json: string, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
595
- static Deserialize<TValue>(json: string, options?: JsonSerializerOptions): TValue;
596
- static Deserialize(json: string, jsonTypeInfo: JsonTypeInfo): any;
597
- static Deserialize(json: string, returnType: Type, options?: JsonSerializerOptions): any;
598
- static Deserialize(json: string, returnType: Type, context: JsonSerializerContext): any;
599
- static Deserialize<TValue>(document: JsonDocument, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
600
- static Deserialize<TValue>(document: JsonDocument, options?: JsonSerializerOptions): TValue;
601
- static Deserialize(document: JsonDocument, jsonTypeInfo: JsonTypeInfo): any;
602
- static Deserialize(document: JsonDocument, returnType: Type, options?: JsonSerializerOptions): any;
603
- static Deserialize(document: JsonDocument, returnType: Type, context: JsonSerializerContext): any;
604
- static Deserialize<TValue>(element: JsonElement, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
605
- static Deserialize<TValue>(element: JsonElement, options?: JsonSerializerOptions): TValue;
606
- static Deserialize(element: JsonElement, jsonTypeInfo: JsonTypeInfo): any;
607
- static Deserialize(element: JsonElement, returnType: Type, options?: JsonSerializerOptions): any;
608
- static Deserialize(element: JsonElement, returnType: Type, context: JsonSerializerContext): any;
609
- static Deserialize<TValue>(node: JsonNode, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
610
- static Deserialize<TValue>(node: JsonNode, options?: JsonSerializerOptions): TValue;
611
- static Deserialize(node: JsonNode, jsonTypeInfo: JsonTypeInfo): any;
612
- static Deserialize(node: JsonNode, returnType: Type, options?: JsonSerializerOptions): any;
613
- static Deserialize(node: JsonNode, returnType: Type, context: JsonSerializerContext): any;
614
- static Deserialize<TValue>(reader: { value: ref<Utf8JsonReader> }, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
615
- static Deserialize<TValue>(reader: { value: ref<Utf8JsonReader> }, options?: JsonSerializerOptions): TValue;
616
- static Deserialize(reader: { value: ref<Utf8JsonReader> }, jsonTypeInfo: JsonTypeInfo): any;
617
- static Deserialize(reader: { value: ref<Utf8JsonReader> }, returnType: Type, options?: JsonSerializerOptions): any;
618
- static Deserialize(reader: { value: ref<Utf8JsonReader> }, returnType: Type, context: JsonSerializerContext): any;
619
- static DeserializeAsync<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
620
- static DeserializeAsync<TValue>(utf8Json: PipeReader, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
621
- static DeserializeAsync(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<any>;
622
- static DeserializeAsync(utf8Json: PipeReader, returnType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<any>;
623
- static DeserializeAsync(utf8Json: PipeReader, returnType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): ValueTask_1<any>;
624
- static DeserializeAsync<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
625
- static DeserializeAsync<TValue>(utf8Json: Stream, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
626
- static DeserializeAsync(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<any>;
627
- static DeserializeAsync(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<any>;
628
- static DeserializeAsync(utf8Json: Stream, returnType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): ValueTask_1<any>;
629
- static DeserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, topLevelValues: boolean, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
630
- static DeserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
631
- static DeserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, topLevelValues: boolean, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
632
- static DeserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
633
- static DeserializeAsyncEnumerable<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, topLevelValues: boolean, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
634
- static DeserializeAsyncEnumerable<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
635
- static DeserializeAsyncEnumerable<TValue>(utf8Json: Stream, topLevelValues: boolean, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
636
- static DeserializeAsyncEnumerable<TValue>(utf8Json: Stream, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
637
- static Serialize(utf8Json: Stream, value: any, jsonTypeInfo: JsonTypeInfo): void;
638
- static Serialize(utf8Json: Stream, value: any, inputType: Type, options?: JsonSerializerOptions): void;
639
- static Serialize(utf8Json: Stream, value: any, inputType: Type, context: JsonSerializerContext): void;
640
- static Serialize<TValue>(utf8Json: Stream, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): void;
641
- static Serialize<TValue>(utf8Json: Stream, value: TValue, options?: JsonSerializerOptions): void;
642
- static Serialize(value: any, jsonTypeInfo: JsonTypeInfo): string;
643
- static Serialize(value: any, inputType: Type, options?: JsonSerializerOptions): string;
644
- static Serialize(value: any, inputType: Type, context: JsonSerializerContext): string;
645
- static Serialize(writer: Utf8JsonWriter, value: any, jsonTypeInfo: JsonTypeInfo): void;
646
- static Serialize(writer: Utf8JsonWriter, value: any, inputType: Type, options?: JsonSerializerOptions): void;
647
- static Serialize(writer: Utf8JsonWriter, value: any, inputType: Type, context: JsonSerializerContext): void;
648
- static Serialize<TValue>(writer: Utf8JsonWriter, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): void;
649
- static Serialize<TValue>(writer: Utf8JsonWriter, value: TValue, options?: JsonSerializerOptions): void;
650
- static Serialize<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): string;
651
- static Serialize<TValue>(value: TValue, options?: JsonSerializerOptions): string;
652
- static SerializeAsync(utf8Json: PipeWriter, value: any, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): Task;
653
- static SerializeAsync(utf8Json: PipeWriter, value: any, inputType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
654
- static SerializeAsync(utf8Json: PipeWriter, value: any, inputType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task;
655
- static SerializeAsync<TValue>(utf8Json: PipeWriter, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task;
656
- static SerializeAsync<TValue>(utf8Json: PipeWriter, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
657
- static SerializeAsync(utf8Json: Stream, value: any, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): Task;
658
- static SerializeAsync(utf8Json: Stream, value: any, inputType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
659
- static SerializeAsync(utf8Json: Stream, value: any, inputType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task;
660
- static SerializeAsync<TValue>(utf8Json: Stream, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task;
661
- static SerializeAsync<TValue>(utf8Json: Stream, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
662
- static SerializeToDocument(value: any, jsonTypeInfo: JsonTypeInfo): JsonDocument;
663
- static SerializeToDocument(value: any, inputType: Type, options?: JsonSerializerOptions): JsonDocument;
664
- static SerializeToDocument(value: any, inputType: Type, context: JsonSerializerContext): JsonDocument;
665
- static SerializeToDocument<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonDocument;
666
- static SerializeToDocument<TValue>(value: TValue, options?: JsonSerializerOptions): JsonDocument;
667
- static SerializeToElement(value: any, jsonTypeInfo: JsonTypeInfo): JsonElement;
668
- static SerializeToElement(value: any, inputType: Type, options?: JsonSerializerOptions): JsonElement;
669
- static SerializeToElement(value: any, inputType: Type, context: JsonSerializerContext): JsonElement;
670
- static SerializeToElement<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonElement;
671
- static SerializeToElement<TValue>(value: TValue, options?: JsonSerializerOptions): JsonElement;
672
- static SerializeToNode(value: any, jsonTypeInfo: JsonTypeInfo): JsonNode;
673
- static SerializeToNode(value: any, inputType: Type, options?: JsonSerializerOptions): JsonNode;
674
- static SerializeToNode(value: any, inputType: Type, context: JsonSerializerContext): JsonNode;
675
- static SerializeToNode<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonNode;
676
- static SerializeToNode<TValue>(value: TValue, options?: JsonSerializerOptions): JsonNode;
677
- static SerializeToUtf8Bytes(value: any, jsonTypeInfo: JsonTypeInfo): byte[];
678
- static SerializeToUtf8Bytes(value: any, inputType: Type, options?: JsonSerializerOptions): byte[];
679
- static SerializeToUtf8Bytes(value: any, inputType: Type, context: JsonSerializerContext): byte[];
680
- static SerializeToUtf8Bytes<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): byte[];
681
- static SerializeToUtf8Bytes<TValue>(value: TValue, options?: JsonSerializerOptions): byte[];
582
+ static readonly isReflectionEnabledByDefault: boolean;
583
+ static deserialize23<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
584
+ static deserialize23<TValue>(utf8Json: Stream, options?: JsonSerializerOptions): TValue;
585
+ static deserialize23(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo): unknown;
586
+ static deserialize23(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions): unknown;
587
+ static deserialize23(utf8Json: Stream, returnType: Type, context: JsonSerializerContext): unknown;
588
+ static deserialize23<TValue>(utf8Json: ReadOnlySpan_1<CLROf<byte>>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
589
+ static deserialize23<TValue>(utf8Json: ReadOnlySpan_1<CLROf<byte>>, options?: JsonSerializerOptions): TValue;
590
+ static deserialize23(utf8Json: ReadOnlySpan_1<CLROf<byte>>, jsonTypeInfo: JsonTypeInfo): unknown;
591
+ static deserialize23(utf8Json: ReadOnlySpan_1<CLROf<byte>>, returnType: Type, options?: JsonSerializerOptions): unknown;
592
+ static deserialize23(utf8Json: ReadOnlySpan_1<CLROf<byte>>, returnType: Type, context: JsonSerializerContext): unknown;
593
+ static deserialize23<TValue>(json: ReadOnlySpan_1<CLROf<char>>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
594
+ static deserialize23<TValue>(json: ReadOnlySpan_1<CLROf<char>>, options?: JsonSerializerOptions): TValue;
595
+ static deserialize23(json: ReadOnlySpan_1<CLROf<char>>, jsonTypeInfo: JsonTypeInfo): unknown;
596
+ static deserialize23(json: ReadOnlySpan_1<CLROf<char>>, returnType: Type, options?: JsonSerializerOptions): unknown;
597
+ static deserialize23(json: ReadOnlySpan_1<CLROf<char>>, returnType: Type, context: JsonSerializerContext): unknown;
598
+ static deserialize23<TValue>(json: string, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
599
+ static deserialize23<TValue>(json: string, options?: JsonSerializerOptions): TValue;
600
+ static deserialize23(json: string, jsonTypeInfo: JsonTypeInfo): unknown;
601
+ static deserialize23(json: string, returnType: Type, options?: JsonSerializerOptions): unknown;
602
+ static deserialize23(json: string, returnType: Type, context: JsonSerializerContext): unknown;
603
+ static deserialize23<TValue>(document: JsonDocument, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
604
+ static deserialize23<TValue>(document: JsonDocument, options?: JsonSerializerOptions): TValue;
605
+ static deserialize23(document: JsonDocument, jsonTypeInfo: JsonTypeInfo): unknown;
606
+ static deserialize23(document: JsonDocument, returnType: Type, options?: JsonSerializerOptions): unknown;
607
+ static deserialize23(document: JsonDocument, returnType: Type, context: JsonSerializerContext): unknown;
608
+ static deserialize23<TValue>(element: JsonElement, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
609
+ static deserialize23<TValue>(element: JsonElement, options?: JsonSerializerOptions): TValue;
610
+ static deserialize23(element: JsonElement, jsonTypeInfo: JsonTypeInfo): unknown;
611
+ static deserialize23(element: JsonElement, returnType: Type, options?: JsonSerializerOptions): unknown;
612
+ static deserialize23(element: JsonElement, returnType: Type, context: JsonSerializerContext): unknown;
613
+ static deserialize23<TValue>(node: JsonNode, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
614
+ static deserialize23<TValue>(node: JsonNode, options?: JsonSerializerOptions): TValue;
615
+ static deserialize23(node: JsonNode, jsonTypeInfo: JsonTypeInfo): unknown;
616
+ static deserialize23(node: JsonNode, returnType: Type, options?: JsonSerializerOptions): unknown;
617
+ static deserialize23(node: JsonNode, returnType: Type, context: JsonSerializerContext): unknown;
618
+ static deserialize23<TValue>(reader: { value: ref<Utf8JsonReader> }, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
619
+ static deserialize23<TValue>(reader: { value: ref<Utf8JsonReader> }, options?: JsonSerializerOptions): TValue;
620
+ static deserialize23(reader: { value: ref<Utf8JsonReader> }, jsonTypeInfo: JsonTypeInfo): unknown;
621
+ static deserialize23(reader: { value: ref<Utf8JsonReader> }, returnType: Type, options?: JsonSerializerOptions): unknown;
622
+ static deserialize23(reader: { value: ref<Utf8JsonReader> }, returnType: Type, context: JsonSerializerContext): unknown;
623
+ static deserializeAsync2<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
624
+ static deserializeAsync2<TValue>(utf8Json: PipeReader, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
625
+ static deserializeAsync2(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
626
+ static deserializeAsync2(utf8Json: PipeReader, returnType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
627
+ static deserializeAsync2(utf8Json: PipeReader, returnType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
628
+ static deserializeAsync2<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
629
+ static deserializeAsync2<TValue>(utf8Json: Stream, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
630
+ static deserializeAsync2(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
631
+ static deserializeAsync2(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
632
+ static deserializeAsync2(utf8Json: Stream, returnType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
633
+ static deserializeAsyncEnumerable3<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, topLevelValues: boolean, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
634
+ static deserializeAsyncEnumerable3<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
635
+ static deserializeAsyncEnumerable3<TValue>(utf8Json: PipeReader, topLevelValues: boolean, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
636
+ static deserializeAsyncEnumerable3<TValue>(utf8Json: PipeReader, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
637
+ static deserializeAsyncEnumerable3<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, topLevelValues: boolean, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
638
+ static deserializeAsyncEnumerable3<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
639
+ static deserializeAsyncEnumerable3<TValue>(utf8Json: Stream, topLevelValues: boolean, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
640
+ static deserializeAsyncEnumerable3<TValue>(utf8Json: Stream, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
641
+ static serialize4(utf8Json: Stream, value: unknown, jsonTypeInfo: JsonTypeInfo): void;
642
+ static serialize4(utf8Json: Stream, value: unknown, inputType: Type, options?: JsonSerializerOptions): void;
643
+ static serialize4(utf8Json: Stream, value: unknown, inputType: Type, context: JsonSerializerContext): void;
644
+ static serialize4<TValue>(utf8Json: Stream, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): void;
645
+ static serialize4<TValue>(utf8Json: Stream, value: TValue, options?: JsonSerializerOptions): void;
646
+ static serialize4(value: unknown, jsonTypeInfo: JsonTypeInfo): string;
647
+ static serialize4(value: unknown, inputType: Type, options?: JsonSerializerOptions): string;
648
+ static serialize4(value: unknown, inputType: Type, context: JsonSerializerContext): string;
649
+ static serialize4(writer: Utf8JsonWriter, value: unknown, jsonTypeInfo: JsonTypeInfo): void;
650
+ static serialize4(writer: Utf8JsonWriter, value: unknown, inputType: Type, options?: JsonSerializerOptions): void;
651
+ static serialize4(writer: Utf8JsonWriter, value: unknown, inputType: Type, context: JsonSerializerContext): void;
652
+ static serialize4<TValue>(writer: Utf8JsonWriter, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): void;
653
+ static serialize4<TValue>(writer: Utf8JsonWriter, value: TValue, options?: JsonSerializerOptions): void;
654
+ static serialize4<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): string;
655
+ static serialize4<TValue>(value: TValue, options?: JsonSerializerOptions): string;
656
+ static serializeAsync8(utf8Json: PipeWriter, value: unknown, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): Task;
657
+ static serializeAsync8(utf8Json: PipeWriter, value: unknown, inputType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
658
+ static serializeAsync8(utf8Json: PipeWriter, value: unknown, inputType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task;
659
+ static serializeAsync8<TValue>(utf8Json: PipeWriter, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task;
660
+ static serializeAsync8<TValue>(utf8Json: PipeWriter, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
661
+ static serializeAsync8(utf8Json: Stream, value: unknown, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): Task;
662
+ static serializeAsync8(utf8Json: Stream, value: unknown, inputType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
663
+ static serializeAsync8(utf8Json: Stream, value: unknown, inputType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task;
664
+ static serializeAsync8<TValue>(utf8Json: Stream, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task;
665
+ static serializeAsync8<TValue>(utf8Json: Stream, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
666
+ static serializeToDocument4(value: unknown, jsonTypeInfo: JsonTypeInfo): JsonDocument;
667
+ static serializeToDocument4(value: unknown, inputType: Type, options?: JsonSerializerOptions): JsonDocument;
668
+ static serializeToDocument4(value: unknown, inputType: Type, context: JsonSerializerContext): JsonDocument;
669
+ static serializeToDocument4<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonDocument;
670
+ static serializeToDocument4<TValue>(value: TValue, options?: JsonSerializerOptions): JsonDocument;
671
+ static serializeToElement4(value: unknown, jsonTypeInfo: JsonTypeInfo): JsonElement;
672
+ static serializeToElement4(value: unknown, inputType: Type, options?: JsonSerializerOptions): JsonElement;
673
+ static serializeToElement4(value: unknown, inputType: Type, context: JsonSerializerContext): JsonElement;
674
+ static serializeToElement4<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonElement;
675
+ static serializeToElement4<TValue>(value: TValue, options?: JsonSerializerOptions): JsonElement;
676
+ static serializeToNode4(value: unknown, jsonTypeInfo: JsonTypeInfo): JsonNode;
677
+ static serializeToNode4(value: unknown, inputType: Type, options?: JsonSerializerOptions): JsonNode;
678
+ static serializeToNode4(value: unknown, inputType: Type, context: JsonSerializerContext): JsonNode;
679
+ static serializeToNode4<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonNode;
680
+ static serializeToNode4<TValue>(value: TValue, options?: JsonSerializerOptions): JsonNode;
681
+ static serializeToUtf8Bytes4(value: unknown, jsonTypeInfo: JsonTypeInfo): byte[];
682
+ static serializeToUtf8Bytes4(value: unknown, inputType: Type, options?: JsonSerializerOptions): byte[];
683
+ static serializeToUtf8Bytes4(value: unknown, inputType: Type, context: JsonSerializerContext): byte[];
684
+ static serializeToUtf8Bytes4<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): byte[];
685
+ static serializeToUtf8Bytes4<TValue>(value: TValue, options?: JsonSerializerOptions): byte[];
682
686
  }
683
687
 
684
688