@tsonic/dotnet 10.0.40 → 10.0.41
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.
- package/Internal/internal/index.d.ts +4 -3
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +52 -54
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +117 -119
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -2
- package/Microsoft.Win32/internal/index.d.ts +19 -18
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
- package/README.md +76 -104
- package/System/bindings.json +1520 -2039
- package/System/internal/index.d.ts +1549 -1602
- package/System.Buffers/bindings.json +12 -3
- package/System.Buffers/internal/index.d.ts +12 -14
- package/System.Buffers.Binary/internal/index.d.ts +2 -4
- package/System.Buffers.Text/internal/index.d.ts +2 -4
- package/System.CodeDom.Compiler/internal/index.d.ts +32 -31
- package/System.Collections/internal/index.d.ts +129 -131
- package/System.Collections.Concurrent/bindings.json +218 -218
- package/System.Collections.Concurrent/internal/index.d.ts +34 -36
- package/System.Collections.Frozen/bindings.json +413 -611
- package/System.Collections.Frozen/internal/index.d.ts +81 -97
- package/System.Collections.Frozen.d.ts +14 -2
- package/System.Collections.Generic/bindings.json +9420 -14155
- package/System.Collections.Generic/internal/index.d.ts +547 -758
- package/System.Collections.Generic.d.ts +1 -1
- package/System.Collections.Immutable/bindings.json +6000 -9080
- package/System.Collections.Immutable/internal/index.d.ts +265 -354
- package/System.Collections.Immutable.d.ts +49 -12
- package/System.Collections.ObjectModel/bindings.json +132 -654
- package/System.Collections.ObjectModel/internal/index.d.ts +10 -30
- package/System.Collections.Specialized/bindings.json +0 -123
- package/System.Collections.Specialized/internal/index.d.ts +88 -101
- package/System.ComponentModel/bindings.json +163 -102
- package/System.ComponentModel/internal/index.d.ts +618 -608
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +133 -132
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
- package/System.ComponentModel.Design/bindings.json +22 -292
- package/System.ComponentModel.Design/internal/index.d.ts +101 -109
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +61 -60
- package/System.ComponentModel.d.ts +1 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
- package/System.Data/bindings.json +4 -1
- package/System.Data/internal/index.d.ts +351 -350
- package/System.Data.Common/internal/index.d.ts +151 -152
- package/System.Data.SqlTypes/internal/index.d.ts +68 -67
- package/System.Diagnostics/bindings.json +7044 -7249
- package/System.Diagnostics/internal/index.d.ts +446 -461
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
- package/System.Diagnostics.Contracts/internal/index.d.ts +16 -18
- package/System.Diagnostics.Metrics/internal/index.d.ts +92 -94
- package/System.Diagnostics.Metrics.d.ts +1 -1
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +12 -11
- package/System.Diagnostics.Tracing/bindings.json +81 -21
- package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
- package/System.Diagnostics.Tracing.d.ts +2 -1
- package/System.Drawing/internal/index.d.ts +76 -75
- package/System.Dynamic/internal/index.d.ts +55 -57
- package/System.Formats.Asn1/bindings.json +48 -69
- package/System.Formats.Asn1/internal/index.d.ts +21 -28
- package/System.Formats.Tar/internal/index.d.ts +8 -7
- package/System.Globalization/internal/index.d.ts +40 -42
- package/System.IO/internal/index.d.ts +187 -189
- package/System.IO.Compression/internal/index.d.ts +29 -31
- package/System.IO.Enumeration/bindings.json +250 -250
- package/System.IO.Enumeration/internal/index.d.ts +15 -17
- package/System.IO.IsolatedStorage/internal/index.d.ts +19 -18
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
- package/System.IO.Pipelines/internal/index.d.ts +15 -17
- package/System.IO.Pipes/internal/index.d.ts +8 -7
- package/System.Linq/internal/index.d.ts +223 -225
- package/System.Linq.Expressions/internal/index.d.ts +205 -207
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
- package/System.Net/bindings.json +104 -104
- package/System.Net/internal/index.d.ts +279 -281
- package/System.Net.Cache/internal/index.d.ts +3 -2
- package/System.Net.Http/internal/index.d.ts +128 -130
- package/System.Net.Http.Headers/bindings.json +0 -204
- package/System.Net.Http.Headers/internal/index.d.ts +111 -127
- package/System.Net.Http.Json/internal/index.d.ts +67 -69
- package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
- package/System.Net.Mail/internal/index.d.ts +76 -78
- package/System.Net.Mime/internal/index.d.ts +11 -10
- package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
- package/System.Net.Quic/internal/index.d.ts +10 -9
- package/System.Net.Security/internal/index.d.ts +87 -89
- package/System.Net.ServerSentEvents/internal/index.d.ts +6 -5
- package/System.Net.Sockets/internal/index.d.ts +91 -93
- package/System.Net.WebSockets/internal/index.d.ts +47 -46
- package/System.Numerics/bindings.json +544 -116
- package/System.Numerics/internal/index.d.ts +110 -112
- package/System.Reflection/internal/index.d.ts +270 -272
- package/System.Reflection.Emit/internal/index.d.ts +114 -116
- package/System.Reflection.Metadata/bindings.json +166 -3169
- package/System.Reflection.Metadata/internal/index.d.ts +154 -361
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +13 -15
- package/System.Reflection.PortableExecutable/bindings.json +58 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +24 -11
- package/System.Reflection.PortableExecutable.d.ts +1 -0
- package/System.Resources/internal/index.d.ts +33 -35
- package/System.Runtime/internal/index.d.ts +12 -11
- package/System.Runtime.CompilerServices/bindings.json +519 -717
- package/System.Runtime.CompilerServices/internal/index.d.ts +113 -137
- package/System.Runtime.CompilerServices.d.ts +14 -4
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +4 -3
- package/System.Runtime.InteropServices/bindings.json +101 -101
- package/System.Runtime.InteropServices/internal/index.d.ts +234 -236
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +34 -36
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +67 -69
- package/System.Runtime.InteropServices.JavaScript.d.ts +8 -26
- package/System.Runtime.InteropServices.Marshalling/bindings.json +2619 -2619
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +308 -310
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +141 -141
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +17 -19
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.Swift.d.ts +1 -1
- package/System.Runtime.Intrinsics/bindings.json +64 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +22 -24
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
- package/System.Runtime.Loader/bindings.json +48 -69
- package/System.Runtime.Loader/internal/index.d.ts +30 -34
- package/System.Runtime.Remoting/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization/internal/index.d.ts +175 -177
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +29 -31
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +10 -9
- package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
- package/System.Runtime.Versioning/internal/index.d.ts +20 -19
- package/System.Security/internal/index.d.ts +64 -66
- package/System.Security.AccessControl/bindings.json +104 -0
- package/System.Security.AccessControl/internal/index.d.ts +59 -58
- package/System.Security.AccessControl.d.ts +6 -5
- package/System.Security.Authentication/internal/index.d.ts +7 -6
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
- package/System.Security.Claims/internal/index.d.ts +45 -44
- package/System.Security.Cryptography/bindings.json +469 -469
- package/System.Security.Cryptography/internal/index.d.ts +269 -271
- package/System.Security.Cryptography.X509Certificates/bindings.json +0 -62
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +98 -105
- package/System.Security.Permissions/internal/index.d.ts +5 -4
- package/System.Security.Policy/internal/index.d.ts +11 -10
- package/System.Security.Principal/internal/index.d.ts +28 -27
- package/System.Text/bindings.json +1562 -1562
- package/System.Text/internal/index.d.ts +119 -121
- package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
- package/System.Text.Json/bindings.json +0 -290
- package/System.Text.Json/internal/index.d.ts +135 -153
- package/System.Text.Json.Nodes/internal/index.d.ts +60 -62
- package/System.Text.Json.Schema/internal/index.d.ts +9 -8
- package/System.Text.Json.Serialization/internal/index.d.ts +32 -34
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +86 -85
- package/System.Text.Json.Serialization.d.ts +1 -1
- package/System.Text.RegularExpressions/bindings.json +198 -402
- package/System.Text.RegularExpressions/internal/index.d.ts +48 -64
- package/System.Text.Unicode/bindings.json +508 -508
- package/System.Text.Unicode/internal/index.d.ts +29 -31
- package/System.Threading/bindings.json +42 -42
- package/System.Threading/internal/index.d.ts +157 -159
- package/System.Threading.Channels/internal/index.d.ts +10 -12
- package/System.Threading.Tasks/bindings.json +4 -1
- package/System.Threading.Tasks/internal/index.d.ts +115 -114
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +32 -33
- package/System.Threading.Tasks.Sources/internal/index.d.ts +6 -5
- package/System.Timers/internal/index.d.ts +8 -7
- package/System.Transactions/internal/index.d.ts +31 -30
- package/System.Web/internal/index.d.ts +32 -31
- package/System.Windows.Input/internal/index.d.ts +5 -4
- package/System.Windows.Markup/internal/index.d.ts +3 -2
- package/System.Xml/internal/index.d.ts +383 -385
- package/System.Xml.Linq/internal/index.d.ts +103 -102
- package/System.Xml.Resolvers/internal/index.d.ts +10 -9
- package/System.Xml.Schema/bindings.json +76 -76
- package/System.Xml.Schema/internal/index.d.ts +233 -232
- package/System.Xml.Serialization/bindings.json +193 -0
- package/System.Xml.Serialization/internal/index.d.ts +277 -245
- package/System.Xml.Serialization.d.ts +2 -0
- package/System.Xml.XPath/internal/index.d.ts +46 -45
- package/System.Xml.Xsl/internal/index.d.ts +53 -52
- package/System.Xml.Xsl.Runtime/bindings.json +4 -1
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +35 -37
- package/System.d.ts +2 -2
- package/__internal/extensions/index.d.ts +517 -515
- package/families.json +63 -7
- package/package.json +2 -2
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Text.Json
|
|
3
3
|
// Assembly: System.Text.Json
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import type { IBufferWriter_1, ReadOnlySequence_1 } from "../../System.Buffers/internal/index.js";
|
|
@@ -113,13 +111,13 @@ export interface JsonElement$instance {
|
|
|
113
111
|
GetRawText(): string;
|
|
114
112
|
GetSByte(): sbyte;
|
|
115
113
|
GetSingle(): float;
|
|
116
|
-
GetString(): string |
|
|
114
|
+
GetString(): string | null;
|
|
117
115
|
GetUInt16(): ushort;
|
|
118
116
|
GetUInt32(): uint;
|
|
119
117
|
GetUInt64(): ulong;
|
|
120
118
|
ToString(): string;
|
|
121
119
|
TryGetByte(value: byte): boolean;
|
|
122
|
-
TryGetBytesFromBase64(value: byte[]): boolean;
|
|
120
|
+
TryGetBytesFromBase64(value: byte[] | null): boolean;
|
|
123
121
|
TryGetDateTime(value: DateTime): boolean;
|
|
124
122
|
TryGetDateTimeOffset(value: DateTimeOffset): boolean;
|
|
125
123
|
TryGetDecimal(value: decimal): boolean;
|
|
@@ -136,7 +134,7 @@ export interface JsonElement$instance {
|
|
|
136
134
|
TryGetUInt16(value: ushort): boolean;
|
|
137
135
|
TryGetUInt32(value: uint): boolean;
|
|
138
136
|
TryGetUInt64(value: ulong): boolean;
|
|
139
|
-
ValueEquals(text: string): boolean;
|
|
137
|
+
ValueEquals(text: string | null): boolean;
|
|
140
138
|
ValueEquals(utf8Text: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
141
139
|
ValueEquals(text: ReadOnlySpan_1<System_Internal.Char>): boolean;
|
|
142
140
|
WriteTo(writer: Utf8JsonWriter): void;
|
|
@@ -156,7 +154,7 @@ export const JsonElement: {
|
|
|
156
154
|
|
|
157
155
|
export type JsonElement = JsonElement$instance & { readonly [index: number]: JsonElement; };
|
|
158
156
|
|
|
159
|
-
export interface JsonElement_ArrayEnumerator$instance extends IDisposable {
|
|
157
|
+
export interface JsonElement_ArrayEnumerator$instance extends IEnumerable_1<JsonElement>, IEnumerable, IEnumerator_1<JsonElement>, IEnumerator, IDisposable {
|
|
160
158
|
readonly __tsonic_type_System_Text_Json_JsonElement_ArrayEnumerator: never;
|
|
161
159
|
|
|
162
160
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
@@ -178,17 +176,9 @@ export const JsonElement_ArrayEnumerator: {
|
|
|
178
176
|
};
|
|
179
177
|
|
|
180
178
|
|
|
181
|
-
export
|
|
182
|
-
As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<JsonElement>;
|
|
183
|
-
As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<JsonElement>;
|
|
184
|
-
As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
|
|
185
|
-
As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
export type JsonElement_ArrayEnumerator = JsonElement_ArrayEnumerator$instance & __JsonElement_ArrayEnumerator$views;
|
|
189
|
-
|
|
179
|
+
export type JsonElement_ArrayEnumerator = JsonElement_ArrayEnumerator$instance;
|
|
190
180
|
|
|
191
|
-
export interface JsonElement_ObjectEnumerator$instance extends IDisposable {
|
|
181
|
+
export interface JsonElement_ObjectEnumerator$instance extends IEnumerable_1<JsonProperty>, IEnumerable, IEnumerator_1<JsonProperty>, IEnumerator, IDisposable {
|
|
192
182
|
readonly __tsonic_type_System_Text_Json_JsonElement_ObjectEnumerator: never;
|
|
193
183
|
|
|
194
184
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
@@ -210,15 +200,7 @@ export const JsonElement_ObjectEnumerator: {
|
|
|
210
200
|
};
|
|
211
201
|
|
|
212
202
|
|
|
213
|
-
export
|
|
214
|
-
As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<JsonProperty>;
|
|
215
|
-
As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<JsonProperty>;
|
|
216
|
-
As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
|
|
217
|
-
As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
export type JsonElement_ObjectEnumerator = JsonElement_ObjectEnumerator$instance & __JsonElement_ObjectEnumerator$views;
|
|
221
|
-
|
|
203
|
+
export type JsonElement_ObjectEnumerator = JsonElement_ObjectEnumerator$instance;
|
|
222
204
|
|
|
223
205
|
export interface JsonEncodedText$instance {
|
|
224
206
|
readonly __tsonic_type_System_Text_Json_JsonEncodedText: never;
|
|
@@ -228,7 +210,7 @@ export interface JsonEncodedText$instance {
|
|
|
228
210
|
readonly EncodedUtf8Bytes: ReadOnlySpan_1<System_Internal.Byte>;
|
|
229
211
|
readonly Value: string;
|
|
230
212
|
Equals(other: JsonEncodedText): boolean;
|
|
231
|
-
Equals(obj:
|
|
213
|
+
Equals(obj: JsValue | null): boolean;
|
|
232
214
|
GetHashCode(): int;
|
|
233
215
|
ToString(): string;
|
|
234
216
|
}
|
|
@@ -236,9 +218,9 @@ export interface JsonEncodedText$instance {
|
|
|
236
218
|
|
|
237
219
|
export const JsonEncodedText: {
|
|
238
220
|
new(): JsonEncodedText;
|
|
239
|
-
Encode(utf8Value: ReadOnlySpan_1<System_Internal.Byte>, encoder?: JavaScriptEncoder): JsonEncodedText;
|
|
240
|
-
Encode(value: ReadOnlySpan_1<System_Internal.Char>, encoder?: JavaScriptEncoder): JsonEncodedText;
|
|
241
|
-
Encode(value: string, encoder?: JavaScriptEncoder): JsonEncodedText;
|
|
221
|
+
Encode(utf8Value: ReadOnlySpan_1<System_Internal.Byte>, encoder?: JavaScriptEncoder | null): JsonEncodedText;
|
|
222
|
+
Encode(value: ReadOnlySpan_1<System_Internal.Char>, encoder?: JavaScriptEncoder | null): JsonEncodedText;
|
|
223
|
+
Encode(value: string, encoder?: JavaScriptEncoder | null): JsonEncodedText;
|
|
242
224
|
};
|
|
243
225
|
|
|
244
226
|
|
|
@@ -257,7 +239,7 @@ export interface JsonProperty$instance {
|
|
|
257
239
|
|
|
258
240
|
readonly Name: string;
|
|
259
241
|
readonly Value: JsonElement;
|
|
260
|
-
NameEquals(text: string): boolean;
|
|
242
|
+
NameEquals(text: string | null): boolean;
|
|
261
243
|
NameEquals(utf8Text: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
262
244
|
NameEquals(text: ReadOnlySpan_1<System_Internal.Char>): boolean;
|
|
263
245
|
ToString(): string;
|
|
@@ -306,8 +288,8 @@ export type JsonReaderState = JsonReaderState$instance;
|
|
|
306
288
|
export interface JsonWriterOptions$instance {
|
|
307
289
|
readonly __tsonic_type_System_Text_Json_JsonWriterOptions: never;
|
|
308
290
|
|
|
309
|
-
get Encoder(): JavaScriptEncoder |
|
|
310
|
-
set Encoder(value: JavaScriptEncoder |
|
|
291
|
+
get Encoder(): JavaScriptEncoder | null;
|
|
292
|
+
set Encoder(value: JavaScriptEncoder | null);
|
|
311
293
|
IndentCharacter: char;
|
|
312
294
|
Indented: boolean;
|
|
313
295
|
IndentSize: int;
|
|
@@ -354,14 +336,14 @@ export interface Utf8JsonReader$instance {
|
|
|
354
336
|
GetInt64(): long;
|
|
355
337
|
GetSByte(): sbyte;
|
|
356
338
|
GetSingle(): float;
|
|
357
|
-
GetString(): string |
|
|
339
|
+
GetString(): string | null;
|
|
358
340
|
GetUInt16(): ushort;
|
|
359
341
|
GetUInt32(): uint;
|
|
360
342
|
GetUInt64(): ulong;
|
|
361
343
|
Read(): boolean;
|
|
362
344
|
Skip(): void;
|
|
363
345
|
TryGetByte(value: byte): boolean;
|
|
364
|
-
TryGetBytesFromBase64(value: byte[]): boolean;
|
|
346
|
+
TryGetBytesFromBase64(value: byte[] | null): boolean;
|
|
365
347
|
TryGetDateTime(value: DateTime): boolean;
|
|
366
348
|
TryGetDateTimeOffset(value: DateTimeOffset): boolean;
|
|
367
349
|
TryGetDecimal(value: decimal): boolean;
|
|
@@ -377,7 +359,7 @@ export interface Utf8JsonReader$instance {
|
|
|
377
359
|
TryGetUInt64(value: ulong): boolean;
|
|
378
360
|
TrySkip(): boolean;
|
|
379
361
|
ValueTextEquals(utf8Text: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
380
|
-
ValueTextEquals(text: string): boolean;
|
|
362
|
+
ValueTextEquals(text: string | null): boolean;
|
|
381
363
|
ValueTextEquals(text: ReadOnlySpan_1<System_Internal.Char>): boolean;
|
|
382
364
|
}
|
|
383
365
|
|
|
@@ -411,7 +393,7 @@ export const JsonDocument: {
|
|
|
411
393
|
Parse(json: string, options?: JsonDocumentOptions): JsonDocument;
|
|
412
394
|
ParseAsync(utf8Json: Stream, options?: JsonDocumentOptions, cancellationToken?: CancellationToken): Task_1<JsonDocument>;
|
|
413
395
|
ParseValue(reader: Utf8JsonReader): JsonDocument;
|
|
414
|
-
TryParseValue(reader: Utf8JsonReader, document: JsonDocument): boolean;
|
|
396
|
+
TryParseValue(reader: Utf8JsonReader, document: JsonDocument | null): boolean;
|
|
415
397
|
};
|
|
416
398
|
|
|
417
399
|
|
|
@@ -432,17 +414,17 @@ export interface JsonException$instance extends Exception {
|
|
|
432
414
|
get LineNumber(): Nullable_1<System_Internal.Int64>;
|
|
433
415
|
set LineNumber(value: Nullable_1<System_Internal.Int64> | long);
|
|
434
416
|
readonly Message: string;
|
|
435
|
-
get Path(): string |
|
|
436
|
-
set Path(value: string |
|
|
417
|
+
get Path(): string | null;
|
|
418
|
+
set Path(value: string | null);
|
|
437
419
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
438
420
|
}
|
|
439
421
|
|
|
440
422
|
|
|
441
423
|
export const JsonException: {
|
|
442
|
-
new(message: string, path: string, lineNumber: Nullable_1<System_Internal.Int64>, bytePositionInLine: Nullable_1<System_Internal.Int64>, innerException: Exception): JsonException;
|
|
443
|
-
new(message: string, path: string, lineNumber: Nullable_1<System_Internal.Int64>, bytePositionInLine: Nullable_1<System_Internal.Int64>): JsonException;
|
|
444
|
-
new(message: string, innerException: Exception): JsonException;
|
|
445
|
-
new(message: string): JsonException;
|
|
424
|
+
new(message: string | null, path: string | null, lineNumber: Nullable_1<System_Internal.Int64>, bytePositionInLine: Nullable_1<System_Internal.Int64>, innerException: Exception | null): JsonException;
|
|
425
|
+
new(message: string | null, path: string | null, lineNumber: Nullable_1<System_Internal.Int64>, bytePositionInLine: Nullable_1<System_Internal.Int64>): JsonException;
|
|
426
|
+
new(message: string | null, innerException: Exception | null): JsonException;
|
|
427
|
+
new(message: string | null): JsonException;
|
|
446
428
|
new(): JsonException;
|
|
447
429
|
};
|
|
448
430
|
|
|
@@ -481,10 +463,10 @@ export interface JsonSerializerOptions$instance {
|
|
|
481
463
|
readonly Converters: IList_1<JsonConverter>;
|
|
482
464
|
DefaultBufferSize: int;
|
|
483
465
|
DefaultIgnoreCondition: JsonIgnoreCondition;
|
|
484
|
-
get DictionaryKeyPolicy(): JsonNamingPolicy |
|
|
485
|
-
set DictionaryKeyPolicy(value: JsonNamingPolicy |
|
|
486
|
-
get Encoder(): JavaScriptEncoder |
|
|
487
|
-
set Encoder(value: JavaScriptEncoder |
|
|
466
|
+
get DictionaryKeyPolicy(): JsonNamingPolicy | null;
|
|
467
|
+
set DictionaryKeyPolicy(value: JsonNamingPolicy | null);
|
|
468
|
+
get Encoder(): JavaScriptEncoder | null;
|
|
469
|
+
set Encoder(value: JavaScriptEncoder | null);
|
|
488
470
|
IgnoreNullValues: boolean;
|
|
489
471
|
IgnoreReadOnlyFields: boolean;
|
|
490
472
|
IgnoreReadOnlyProperties: boolean;
|
|
@@ -497,15 +479,15 @@ export interface JsonSerializerOptions$instance {
|
|
|
497
479
|
NumberHandling: JsonNumberHandling;
|
|
498
480
|
PreferredObjectCreationHandling: JsonObjectCreationHandling;
|
|
499
481
|
PropertyNameCaseInsensitive: boolean;
|
|
500
|
-
get PropertyNamingPolicy(): JsonNamingPolicy |
|
|
501
|
-
set PropertyNamingPolicy(value: JsonNamingPolicy |
|
|
482
|
+
get PropertyNamingPolicy(): JsonNamingPolicy | null;
|
|
483
|
+
set PropertyNamingPolicy(value: JsonNamingPolicy | null);
|
|
502
484
|
ReadCommentHandling: JsonCommentHandling;
|
|
503
|
-
get ReferenceHandler(): ReferenceHandler |
|
|
504
|
-
set ReferenceHandler(value: ReferenceHandler |
|
|
485
|
+
get ReferenceHandler(): ReferenceHandler | null;
|
|
486
|
+
set ReferenceHandler(value: ReferenceHandler | null);
|
|
505
487
|
RespectNullableAnnotations: boolean;
|
|
506
488
|
RespectRequiredConstructorParameters: boolean;
|
|
507
|
-
get TypeInfoResolver(): IJsonTypeInfoResolver |
|
|
508
|
-
set TypeInfoResolver(value: IJsonTypeInfoResolver |
|
|
489
|
+
get TypeInfoResolver(): IJsonTypeInfoResolver | null;
|
|
490
|
+
set TypeInfoResolver(value: IJsonTypeInfoResolver | null);
|
|
509
491
|
readonly TypeInfoResolverChain: IList_1<IJsonTypeInfoResolver>;
|
|
510
492
|
UnknownTypeHandling: JsonUnknownTypeHandling;
|
|
511
493
|
UnmappedMemberHandling: JsonUnmappedMemberHandling;
|
|
@@ -515,7 +497,7 @@ export interface JsonSerializerOptions$instance {
|
|
|
515
497
|
GetTypeInfo(type: Type): JsonTypeInfo;
|
|
516
498
|
MakeReadOnly(): void;
|
|
517
499
|
MakeReadOnly(populateMissingResolver: boolean): void;
|
|
518
|
-
TryGetTypeInfo(type: Type, typeInfo: JsonTypeInfo): boolean;
|
|
500
|
+
TryGetTypeInfo(type: Type, typeInfo: JsonTypeInfo | null): boolean;
|
|
519
501
|
}
|
|
520
502
|
|
|
521
503
|
|
|
@@ -636,10 +618,10 @@ export interface Utf8JsonWriter$instance extends System_Internal.IAsyncDisposabl
|
|
|
636
618
|
WriteString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: Guid): void;
|
|
637
619
|
WriteString(propertyName: JsonEncodedText, value: JsonEncodedText): void;
|
|
638
620
|
WriteString(propertyName: string, value: JsonEncodedText): void;
|
|
639
|
-
WriteString(propertyName: string, value: string): void;
|
|
621
|
+
WriteString(propertyName: string, value: string | null): void;
|
|
640
622
|
WriteString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
641
623
|
WriteString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, utf8Value: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
642
|
-
WriteString(propertyName: JsonEncodedText, value: string): void;
|
|
624
|
+
WriteString(propertyName: JsonEncodedText, value: string | null): void;
|
|
643
625
|
WriteString(propertyName: JsonEncodedText, value: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
644
626
|
WriteString(propertyName: string, value: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
645
627
|
WriteString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
@@ -647,14 +629,14 @@ export interface Utf8JsonWriter$instance extends System_Internal.IAsyncDisposabl
|
|
|
647
629
|
WriteString(propertyName: string, utf8Value: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
648
630
|
WriteString(propertyName: ReadOnlySpan_1<System_Internal.Char>, utf8Value: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
649
631
|
WriteString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: JsonEncodedText): void;
|
|
650
|
-
WriteString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: string): void;
|
|
632
|
+
WriteString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: string | null): void;
|
|
651
633
|
WriteString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: JsonEncodedText): void;
|
|
652
|
-
WriteString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: string): void;
|
|
634
|
+
WriteString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: string | null): void;
|
|
653
635
|
WriteStringValue(value: DateTime): void;
|
|
654
636
|
WriteStringValue(value: DateTimeOffset): void;
|
|
655
637
|
WriteStringValue(value: Guid): void;
|
|
656
638
|
WriteStringValue(value: JsonEncodedText): void;
|
|
657
|
-
WriteStringValue(value: string): void;
|
|
639
|
+
WriteStringValue(value: string | null): void;
|
|
658
640
|
WriteStringValue(value: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
659
641
|
WriteStringValue(utf8Value: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
660
642
|
WriteStringValueSegment(value: ReadOnlySpan_1<System_Internal.Char>, isFinalSegment: boolean): void;
|
|
@@ -678,109 +660,109 @@ export type Utf8JsonWriter = Utf8JsonWriter$instance & __Utf8JsonWriter$views;
|
|
|
678
660
|
|
|
679
661
|
export abstract class JsonSerializer$instance {
|
|
680
662
|
static readonly IsReflectionEnabledByDefault: boolean;
|
|
681
|
-
static Deserialize<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue |
|
|
682
|
-
static Deserialize<TValue>(utf8Json: Stream, options?: JsonSerializerOptions): TValue |
|
|
683
|
-
static Deserialize(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo):
|
|
684
|
-
static Deserialize(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions):
|
|
685
|
-
static Deserialize(utf8Json: Stream, returnType: Type, context: JsonSerializerContext):
|
|
686
|
-
static Deserialize<TValue>(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue |
|
|
687
|
-
static Deserialize<TValue>(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, options?: JsonSerializerOptions): TValue |
|
|
688
|
-
static Deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, jsonTypeInfo: JsonTypeInfo):
|
|
689
|
-
static Deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, returnType: Type, options?: JsonSerializerOptions):
|
|
690
|
-
static Deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, returnType: Type, context: JsonSerializerContext):
|
|
691
|
-
static Deserialize<TValue>(json: ReadOnlySpan_1<System_Internal.Char>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue |
|
|
692
|
-
static Deserialize<TValue>(json: ReadOnlySpan_1<System_Internal.Char>, options?: JsonSerializerOptions): TValue |
|
|
693
|
-
static Deserialize(json: ReadOnlySpan_1<System_Internal.Char>, jsonTypeInfo: JsonTypeInfo):
|
|
694
|
-
static Deserialize(json: ReadOnlySpan_1<System_Internal.Char>, returnType: Type, options?: JsonSerializerOptions):
|
|
695
|
-
static Deserialize(json: ReadOnlySpan_1<System_Internal.Char>, returnType: Type, context: JsonSerializerContext):
|
|
696
|
-
static Deserialize<TValue>(json: string, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue |
|
|
697
|
-
static Deserialize<TValue>(json: string, options?: JsonSerializerOptions): TValue |
|
|
698
|
-
static Deserialize(json: string, jsonTypeInfo: JsonTypeInfo):
|
|
699
|
-
static Deserialize(json: string, returnType: Type, options?: JsonSerializerOptions):
|
|
700
|
-
static Deserialize(json: string, returnType: Type, context: JsonSerializerContext):
|
|
701
|
-
static Deserialize<TValue>(document: JsonDocument, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue |
|
|
702
|
-
static Deserialize<TValue>(document: JsonDocument, options?: JsonSerializerOptions): TValue |
|
|
703
|
-
static Deserialize(document: JsonDocument, jsonTypeInfo: JsonTypeInfo):
|
|
704
|
-
static Deserialize(document: JsonDocument, returnType: Type, options?: JsonSerializerOptions):
|
|
705
|
-
static Deserialize(document: JsonDocument, returnType: Type, context: JsonSerializerContext):
|
|
706
|
-
static Deserialize<TValue>(element: JsonElement, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue |
|
|
707
|
-
static Deserialize<TValue>(element: JsonElement, options?: JsonSerializerOptions): TValue |
|
|
708
|
-
static Deserialize(element: JsonElement, jsonTypeInfo: JsonTypeInfo):
|
|
709
|
-
static Deserialize(element: JsonElement, returnType: Type, options?: JsonSerializerOptions):
|
|
710
|
-
static Deserialize(element: JsonElement, returnType: Type, context: JsonSerializerContext):
|
|
711
|
-
static Deserialize<TValue>(node: JsonNode, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue |
|
|
712
|
-
static Deserialize<TValue>(node: JsonNode, options?: JsonSerializerOptions): TValue |
|
|
713
|
-
static Deserialize(node: JsonNode, jsonTypeInfo: JsonTypeInfo):
|
|
714
|
-
static Deserialize(node: JsonNode, returnType: Type, options?: JsonSerializerOptions):
|
|
715
|
-
static Deserialize(node: JsonNode, returnType: Type, context: JsonSerializerContext):
|
|
716
|
-
static Deserialize<TValue>(reader: Utf8JsonReader, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue |
|
|
717
|
-
static Deserialize<TValue>(reader: Utf8JsonReader, options?: JsonSerializerOptions): TValue |
|
|
718
|
-
static Deserialize(reader: Utf8JsonReader, jsonTypeInfo: JsonTypeInfo):
|
|
719
|
-
static Deserialize(reader: Utf8JsonReader, returnType: Type, options?: JsonSerializerOptions):
|
|
720
|
-
static Deserialize(reader: Utf8JsonReader, returnType: Type, context: JsonSerializerContext):
|
|
663
|
+
static Deserialize<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | null;
|
|
664
|
+
static Deserialize<TValue>(utf8Json: Stream, options?: JsonSerializerOptions | null): TValue | null;
|
|
665
|
+
static Deserialize(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo): JsValue | null;
|
|
666
|
+
static Deserialize(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions | null): JsValue | null;
|
|
667
|
+
static Deserialize(utf8Json: Stream, returnType: Type, context: JsonSerializerContext): JsValue | null;
|
|
668
|
+
static Deserialize<TValue>(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | null;
|
|
669
|
+
static Deserialize<TValue>(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, options?: JsonSerializerOptions | null): TValue | null;
|
|
670
|
+
static Deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, jsonTypeInfo: JsonTypeInfo): JsValue | null;
|
|
671
|
+
static Deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, returnType: Type, options?: JsonSerializerOptions | null): JsValue | null;
|
|
672
|
+
static Deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, returnType: Type, context: JsonSerializerContext): JsValue | null;
|
|
673
|
+
static Deserialize<TValue>(json: ReadOnlySpan_1<System_Internal.Char>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | null;
|
|
674
|
+
static Deserialize<TValue>(json: ReadOnlySpan_1<System_Internal.Char>, options?: JsonSerializerOptions | null): TValue | null;
|
|
675
|
+
static Deserialize(json: ReadOnlySpan_1<System_Internal.Char>, jsonTypeInfo: JsonTypeInfo): JsValue | null;
|
|
676
|
+
static Deserialize(json: ReadOnlySpan_1<System_Internal.Char>, returnType: Type, options?: JsonSerializerOptions | null): JsValue | null;
|
|
677
|
+
static Deserialize(json: ReadOnlySpan_1<System_Internal.Char>, returnType: Type, context: JsonSerializerContext): JsValue | null;
|
|
678
|
+
static Deserialize<TValue>(json: string, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | null;
|
|
679
|
+
static Deserialize<TValue>(json: string, options?: JsonSerializerOptions | null): TValue | null;
|
|
680
|
+
static Deserialize(json: string, jsonTypeInfo: JsonTypeInfo): JsValue | null;
|
|
681
|
+
static Deserialize(json: string, returnType: Type, options?: JsonSerializerOptions | null): JsValue | null;
|
|
682
|
+
static Deserialize(json: string, returnType: Type, context: JsonSerializerContext): JsValue | null;
|
|
683
|
+
static Deserialize<TValue>(document: JsonDocument, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | null;
|
|
684
|
+
static Deserialize<TValue>(document: JsonDocument, options?: JsonSerializerOptions | null): TValue | null;
|
|
685
|
+
static Deserialize(document: JsonDocument, jsonTypeInfo: JsonTypeInfo): JsValue | null;
|
|
686
|
+
static Deserialize(document: JsonDocument, returnType: Type, options?: JsonSerializerOptions | null): JsValue | null;
|
|
687
|
+
static Deserialize(document: JsonDocument, returnType: Type, context: JsonSerializerContext): JsValue | null;
|
|
688
|
+
static Deserialize<TValue>(element: JsonElement, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | null;
|
|
689
|
+
static Deserialize<TValue>(element: JsonElement, options?: JsonSerializerOptions | null): TValue | null;
|
|
690
|
+
static Deserialize(element: JsonElement, jsonTypeInfo: JsonTypeInfo): JsValue | null;
|
|
691
|
+
static Deserialize(element: JsonElement, returnType: Type, options?: JsonSerializerOptions | null): JsValue | null;
|
|
692
|
+
static Deserialize(element: JsonElement, returnType: Type, context: JsonSerializerContext): JsValue | null;
|
|
693
|
+
static Deserialize<TValue>(node: JsonNode | null, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | null;
|
|
694
|
+
static Deserialize<TValue>(node: JsonNode | null, options?: JsonSerializerOptions | null): TValue | null;
|
|
695
|
+
static Deserialize(node: JsonNode | null, jsonTypeInfo: JsonTypeInfo): JsValue | null;
|
|
696
|
+
static Deserialize(node: JsonNode | null, returnType: Type, options?: JsonSerializerOptions | null): JsValue | null;
|
|
697
|
+
static Deserialize(node: JsonNode | null, returnType: Type, context: JsonSerializerContext): JsValue | null;
|
|
698
|
+
static Deserialize<TValue>(reader: Utf8JsonReader, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | null;
|
|
699
|
+
static Deserialize<TValue>(reader: Utf8JsonReader, options?: JsonSerializerOptions | null): TValue | null;
|
|
700
|
+
static Deserialize(reader: Utf8JsonReader, jsonTypeInfo: JsonTypeInfo): JsValue | null;
|
|
701
|
+
static Deserialize(reader: Utf8JsonReader, returnType: Type, options?: JsonSerializerOptions | null): JsValue | null;
|
|
702
|
+
static Deserialize(reader: Utf8JsonReader, returnType: Type, context: JsonSerializerContext): JsValue | null;
|
|
721
703
|
static DeserializeAsync<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
722
|
-
static DeserializeAsync<TValue>(utf8Json: PipeReader, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
723
|
-
static DeserializeAsync(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<
|
|
724
|
-
static DeserializeAsync(utf8Json: PipeReader, returnType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<
|
|
725
|
-
static DeserializeAsync(utf8Json: PipeReader, returnType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): ValueTask_1<
|
|
704
|
+
static DeserializeAsync<TValue>(utf8Json: PipeReader, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
705
|
+
static DeserializeAsync(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<JsValue>;
|
|
706
|
+
static DeserializeAsync(utf8Json: PipeReader, returnType: Type, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): ValueTask_1<JsValue>;
|
|
707
|
+
static DeserializeAsync(utf8Json: PipeReader, returnType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): ValueTask_1<JsValue>;
|
|
726
708
|
static DeserializeAsync<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
727
|
-
static DeserializeAsync<TValue>(utf8Json: Stream, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
728
|
-
static DeserializeAsync(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<
|
|
729
|
-
static DeserializeAsync(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<
|
|
730
|
-
static DeserializeAsync(utf8Json: Stream, returnType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): ValueTask_1<
|
|
731
|
-
static DeserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, topLevelValues: boolean, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue |
|
|
732
|
-
static DeserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue |
|
|
733
|
-
static DeserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, topLevelValues: boolean, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue |
|
|
734
|
-
static DeserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue |
|
|
735
|
-
static DeserializeAsyncEnumerable<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, topLevelValues: boolean, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue |
|
|
736
|
-
static DeserializeAsyncEnumerable<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue |
|
|
737
|
-
static DeserializeAsyncEnumerable<TValue>(utf8Json: Stream, topLevelValues: boolean, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue |
|
|
738
|
-
static DeserializeAsyncEnumerable<TValue>(utf8Json: Stream, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue |
|
|
739
|
-
static Serialize(utf8Json: Stream, value:
|
|
740
|
-
static Serialize(utf8Json: Stream, value:
|
|
741
|
-
static Serialize(utf8Json: Stream, value:
|
|
709
|
+
static DeserializeAsync<TValue>(utf8Json: Stream, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
710
|
+
static DeserializeAsync(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<JsValue>;
|
|
711
|
+
static DeserializeAsync(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): ValueTask_1<JsValue>;
|
|
712
|
+
static DeserializeAsync(utf8Json: Stream, returnType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): ValueTask_1<JsValue>;
|
|
713
|
+
static DeserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, topLevelValues: boolean, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | null>;
|
|
714
|
+
static DeserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | null>;
|
|
715
|
+
static DeserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, topLevelValues: boolean, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | null>;
|
|
716
|
+
static DeserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | null>;
|
|
717
|
+
static DeserializeAsyncEnumerable<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, topLevelValues: boolean, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | null>;
|
|
718
|
+
static DeserializeAsyncEnumerable<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | null>;
|
|
719
|
+
static DeserializeAsyncEnumerable<TValue>(utf8Json: Stream, topLevelValues: boolean, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | null>;
|
|
720
|
+
static DeserializeAsyncEnumerable<TValue>(utf8Json: Stream, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | null>;
|
|
721
|
+
static Serialize(utf8Json: Stream, value: JsValue | null, jsonTypeInfo: JsonTypeInfo): void;
|
|
722
|
+
static Serialize(utf8Json: Stream, value: JsValue | null, inputType: Type, options?: JsonSerializerOptions | null): void;
|
|
723
|
+
static Serialize(utf8Json: Stream, value: JsValue | null, inputType: Type, context: JsonSerializerContext): void;
|
|
742
724
|
static Serialize<TValue>(utf8Json: Stream, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): void;
|
|
743
|
-
static Serialize<TValue>(utf8Json: Stream, value: TValue, options?: JsonSerializerOptions): void;
|
|
744
|
-
static Serialize(value:
|
|
745
|
-
static Serialize(value:
|
|
746
|
-
static Serialize(value:
|
|
747
|
-
static Serialize(writer: Utf8JsonWriter, value:
|
|
748
|
-
static Serialize(writer: Utf8JsonWriter, value:
|
|
749
|
-
static Serialize(writer: Utf8JsonWriter, value:
|
|
725
|
+
static Serialize<TValue>(utf8Json: Stream, value: TValue, options?: JsonSerializerOptions | null): void;
|
|
726
|
+
static Serialize(value: JsValue | null, jsonTypeInfo: JsonTypeInfo): string;
|
|
727
|
+
static Serialize(value: JsValue | null, inputType: Type, options?: JsonSerializerOptions | null): string;
|
|
728
|
+
static Serialize(value: JsValue | null, inputType: Type, context: JsonSerializerContext): string;
|
|
729
|
+
static Serialize(writer: Utf8JsonWriter, value: JsValue | null, jsonTypeInfo: JsonTypeInfo): void;
|
|
730
|
+
static Serialize(writer: Utf8JsonWriter, value: JsValue | null, inputType: Type, options?: JsonSerializerOptions | null): void;
|
|
731
|
+
static Serialize(writer: Utf8JsonWriter, value: JsValue | null, inputType: Type, context: JsonSerializerContext): void;
|
|
750
732
|
static Serialize<TValue>(writer: Utf8JsonWriter, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): void;
|
|
751
|
-
static Serialize<TValue>(writer: Utf8JsonWriter, value: TValue, options?: JsonSerializerOptions): void;
|
|
733
|
+
static Serialize<TValue>(writer: Utf8JsonWriter, value: TValue, options?: JsonSerializerOptions | null): void;
|
|
752
734
|
static Serialize<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): string;
|
|
753
|
-
static Serialize<TValue>(value: TValue, options?: JsonSerializerOptions): string;
|
|
754
|
-
static SerializeAsync(utf8Json: PipeWriter, value:
|
|
755
|
-
static SerializeAsync(utf8Json: PipeWriter, value:
|
|
756
|
-
static SerializeAsync(utf8Json: PipeWriter, value:
|
|
735
|
+
static Serialize<TValue>(value: TValue, options?: JsonSerializerOptions | null): string;
|
|
736
|
+
static SerializeAsync(utf8Json: PipeWriter, value: JsValue | null, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): Task;
|
|
737
|
+
static SerializeAsync(utf8Json: PipeWriter, value: JsValue | null, inputType: Type, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task;
|
|
738
|
+
static SerializeAsync(utf8Json: PipeWriter, value: JsValue | null, inputType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task;
|
|
757
739
|
static SerializeAsync<TValue>(utf8Json: PipeWriter, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task;
|
|
758
|
-
static SerializeAsync<TValue>(utf8Json: PipeWriter, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
|
|
759
|
-
static SerializeAsync(utf8Json: Stream, value:
|
|
760
|
-
static SerializeAsync(utf8Json: Stream, value:
|
|
761
|
-
static SerializeAsync(utf8Json: Stream, value:
|
|
740
|
+
static SerializeAsync<TValue>(utf8Json: PipeWriter, value: TValue, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task;
|
|
741
|
+
static SerializeAsync(utf8Json: Stream, value: JsValue | null, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): Task;
|
|
742
|
+
static SerializeAsync(utf8Json: Stream, value: JsValue | null, inputType: Type, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task;
|
|
743
|
+
static SerializeAsync(utf8Json: Stream, value: JsValue | null, inputType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task;
|
|
762
744
|
static SerializeAsync<TValue>(utf8Json: Stream, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task;
|
|
763
|
-
static SerializeAsync<TValue>(utf8Json: Stream, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
|
|
764
|
-
static SerializeToDocument(value:
|
|
765
|
-
static SerializeToDocument(value:
|
|
766
|
-
static SerializeToDocument(value:
|
|
745
|
+
static SerializeAsync<TValue>(utf8Json: Stream, value: TValue, options?: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task;
|
|
746
|
+
static SerializeToDocument(value: JsValue | null, jsonTypeInfo: JsonTypeInfo): JsonDocument;
|
|
747
|
+
static SerializeToDocument(value: JsValue | null, inputType: Type, options?: JsonSerializerOptions | null): JsonDocument;
|
|
748
|
+
static SerializeToDocument(value: JsValue | null, inputType: Type, context: JsonSerializerContext): JsonDocument;
|
|
767
749
|
static SerializeToDocument<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonDocument;
|
|
768
|
-
static SerializeToDocument<TValue>(value: TValue, options?: JsonSerializerOptions): JsonDocument;
|
|
769
|
-
static SerializeToElement(value:
|
|
770
|
-
static SerializeToElement(value:
|
|
771
|
-
static SerializeToElement(value:
|
|
750
|
+
static SerializeToDocument<TValue>(value: TValue, options?: JsonSerializerOptions | null): JsonDocument;
|
|
751
|
+
static SerializeToElement(value: JsValue | null, jsonTypeInfo: JsonTypeInfo): JsonElement;
|
|
752
|
+
static SerializeToElement(value: JsValue | null, inputType: Type, options?: JsonSerializerOptions | null): JsonElement;
|
|
753
|
+
static SerializeToElement(value: JsValue | null, inputType: Type, context: JsonSerializerContext): JsonElement;
|
|
772
754
|
static SerializeToElement<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonElement;
|
|
773
|
-
static SerializeToElement<TValue>(value: TValue, options?: JsonSerializerOptions): JsonElement;
|
|
774
|
-
static SerializeToNode(value:
|
|
775
|
-
static SerializeToNode(value:
|
|
776
|
-
static SerializeToNode(value:
|
|
777
|
-
static SerializeToNode<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonNode |
|
|
778
|
-
static SerializeToNode<TValue>(value: TValue, options?: JsonSerializerOptions): JsonNode |
|
|
779
|
-
static SerializeToUtf8Bytes(value:
|
|
780
|
-
static SerializeToUtf8Bytes(value:
|
|
781
|
-
static SerializeToUtf8Bytes(value:
|
|
755
|
+
static SerializeToElement<TValue>(value: TValue, options?: JsonSerializerOptions | null): JsonElement;
|
|
756
|
+
static SerializeToNode(value: JsValue | null, jsonTypeInfo: JsonTypeInfo): JsonNode | null;
|
|
757
|
+
static SerializeToNode(value: JsValue | null, inputType: Type, options?: JsonSerializerOptions | null): JsonNode | null;
|
|
758
|
+
static SerializeToNode(value: JsValue | null, inputType: Type, context: JsonSerializerContext): JsonNode | null;
|
|
759
|
+
static SerializeToNode<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonNode | null;
|
|
760
|
+
static SerializeToNode<TValue>(value: TValue, options?: JsonSerializerOptions | null): JsonNode | null;
|
|
761
|
+
static SerializeToUtf8Bytes(value: JsValue | null, jsonTypeInfo: JsonTypeInfo): byte[];
|
|
762
|
+
static SerializeToUtf8Bytes(value: JsValue | null, inputType: Type, options?: JsonSerializerOptions | null): byte[];
|
|
763
|
+
static SerializeToUtf8Bytes(value: JsValue | null, inputType: Type, context: JsonSerializerContext): byte[];
|
|
782
764
|
static SerializeToUtf8Bytes<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): byte[];
|
|
783
|
-
static SerializeToUtf8Bytes<TValue>(value: TValue, options?: JsonSerializerOptions): byte[];
|
|
765
|
+
static SerializeToUtf8Bytes<TValue>(value: TValue, options?: JsonSerializerOptions | null): byte[];
|
|
784
766
|
}
|
|
785
767
|
|
|
786
768
|
|