@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.
- package/Internal/internal/index.d.ts +5 -5
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +14 -14
- package/Microsoft.VisualBasic/bindings.json +28 -28
- package/Microsoft.VisualBasic/internal/index.d.ts +265 -265
- package/Microsoft.VisualBasic/internal/metadata.json +14 -14
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +202 -202
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +68 -66
- package/Microsoft.Win32/internal/index.d.ts +16 -14
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +18 -18
- package/README.md +39 -0
- package/System/bindings.json +138 -138
- package/System/internal/index.d.ts +4165 -3967
- package/System/internal/metadata.json +81 -487
- package/System.Buffers/internal/index.d.ts +60 -50
- package/System.Buffers.Binary/internal/index.d.ts +126 -126
- package/System.Buffers.Text/internal/index.d.ts +67 -67
- package/System.CodeDom.Compiler/internal/index.d.ts +35 -35
- package/System.Collections/internal/index.d.ts +199 -179
- package/System.Collections.Concurrent/internal/index.d.ts +61 -59
- package/System.Collections.Frozen/internal/index.d.ts +29 -29
- package/System.Collections.Frozen/internal/metadata.json +2 -16
- package/System.Collections.Generic/index.d.ts +1 -1
- package/System.Collections.Generic/internal/index.d.ts +382 -354
- package/System.Collections.Generic/internal/metadata.json +5 -54
- package/System.Collections.Immutable/internal/index.d.ts +321 -319
- package/System.Collections.Immutable/internal/metadata.json +5 -40
- package/System.Collections.ObjectModel/internal/index.d.ts +83 -79
- package/System.Collections.ObjectModel/internal/metadata.json +1 -36
- package/System.Collections.Specialized/internal/index.d.ts +104 -96
- package/System.ComponentModel/internal/index.d.ts +661 -631
- package/System.ComponentModel/internal/metadata.json +0 -7
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +60 -58
- package/System.ComponentModel.Design/bindings.json +2 -2
- package/System.ComponentModel.Design/internal/index.d.ts +207 -193
- package/System.ComponentModel.Design/internal/metadata.json +1 -1
- package/System.ComponentModel.Design.Serialization/index.d.ts +2 -2
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +103 -98
- package/System.Configuration.Assemblies/bindings.json +10 -10
- package/System.Configuration.Assemblies/internal/index.d.ts +5 -5
- package/System.Configuration.Assemblies/internal/metadata.json +5 -5
- package/System.Data/internal/index.d.ts +481 -453
- package/System.Data.Common/internal/index.d.ts +149 -121
- package/System.Data.SqlTypes/bindings.json +2 -2
- package/System.Data.SqlTypes/internal/index.d.ts +331 -299
- package/System.Data.SqlTypes/internal/metadata.json +1 -1
- package/System.Diagnostics/bindings.json +6 -6
- package/System.Diagnostics/internal/index.d.ts +333 -313
- package/System.Diagnostics/internal/metadata.json +3 -10
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +16 -16
- package/System.Diagnostics.Contracts/internal/index.d.ts +21 -21
- package/System.Diagnostics.Metrics/internal/index.d.ts +81 -75
- package/System.Diagnostics.SymbolStore/bindings.json +6 -6
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +72 -72
- package/System.Diagnostics.SymbolStore/internal/metadata.json +3 -3
- package/System.Diagnostics.Tracing/internal/index.d.ts +24 -18
- package/System.Drawing/bindings.json +24 -24
- package/System.Drawing/internal/index.d.ts +281 -281
- package/System.Drawing/internal/metadata.json +12 -12
- package/System.Dynamic/internal/index.d.ts +46 -42
- package/System.Formats.Asn1/bindings.json +12 -12
- package/System.Formats.Asn1/internal/index.d.ts +50 -48
- package/System.Formats.Asn1/internal/metadata.json +6 -6
- package/System.Formats.Tar/bindings.json +2 -2
- package/System.Formats.Tar/internal/index.d.ts +17 -13
- package/System.Formats.Tar/internal/metadata.json +1 -1
- package/System.Globalization/bindings.json +8 -8
- package/System.Globalization/internal/index.d.ts +177 -163
- package/System.Globalization/internal/metadata.json +4 -4
- package/System.IO/internal/index.d.ts +457 -439
- package/System.IO.Compression/internal/index.d.ts +78 -72
- package/System.IO.Enumeration/internal/index.d.ts +22 -22
- package/System.IO.IsolatedStorage/internal/index.d.ts +26 -24
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -20
- package/System.IO.Pipelines/internal/index.d.ts +15 -13
- package/System.IO.Pipes/internal/index.d.ts +23 -23
- package/System.Linq/internal/index.d.ts +853 -845
- package/System.Linq/internal/metadata.json +0 -17
- package/System.Linq.Expressions/internal/index.d.ts +354 -340
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/bindings.json +2 -2
- package/System.Net/internal/index.d.ts +351 -317
- package/System.Net/internal/metadata.json +1 -1
- package/System.Net.Http/internal/index.d.ts +64 -54
- package/System.Net.Http.Headers/bindings.json +2 -2
- package/System.Net.Http.Headers/internal/index.d.ts +139 -99
- package/System.Net.Http.Headers/internal/metadata.json +1 -1
- package/System.Net.Http.Json/internal/index.d.ts +63 -63
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- package/System.Net.Mail/bindings.json +2 -2
- package/System.Net.Mail/internal/index.d.ts +90 -78
- package/System.Net.Mail/internal/metadata.json +4 -32
- package/System.Net.Mime/internal/index.d.ts +51 -51
- package/System.Net.NetworkInformation/internal/index.d.ts +59 -57
- package/System.Net.Quic/internal/index.d.ts +15 -11
- package/System.Net.Security/bindings.json +674 -674
- package/System.Net.Security/internal/index.d.ts +396 -394
- package/System.Net.Security/internal/metadata.json +337 -337
- package/System.Net.ServerSentEvents/internal/index.d.ts +10 -10
- package/System.Net.Sockets/bindings.json +10 -10
- package/System.Net.Sockets/internal/index.d.ts +100 -90
- package/System.Net.Sockets/internal/metadata.json +5 -5
- package/System.Net.WebSockets/internal/index.d.ts +21 -19
- package/System.Numerics/bindings.json +110 -110
- package/System.Numerics/internal/index.d.ts +1057 -1039
- package/System.Numerics/internal/metadata.json +55 -89
- package/System.Reflection/bindings.json +25 -25
- package/System.Reflection/internal/index.d.ts +336 -316
- package/System.Reflection/internal/metadata.json +12 -12
- package/System.Reflection.Emit/bindings.json +307 -307
- package/System.Reflection.Emit/internal/index.d.ts +242 -236
- package/System.Reflection.Emit/internal/metadata.json +152 -152
- package/System.Reflection.Metadata/bindings.json +272 -272
- package/System.Reflection.Metadata/internal/index.d.ts +448 -438
- package/System.Reflection.Metadata/internal/metadata.json +164 -360
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +91 -91
- package/System.Reflection.PortableExecutable/bindings.json +26 -26
- package/System.Reflection.PortableExecutable/internal/index.d.ts +22 -20
- package/System.Reflection.PortableExecutable/internal/metadata.json +13 -13
- package/System.Resources/internal/index.d.ts +30 -24
- package/System.Runtime/internal/index.d.ts +20 -16
- package/System.Runtime.CompilerServices/bindings.json +4 -4
- package/System.Runtime.CompilerServices/internal/index.d.ts +233 -209
- package/System.Runtime.CompilerServices/internal/metadata.json +2 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +6 -6
- package/System.Runtime.InteropServices/bindings.json +146 -146
- package/System.Runtime.InteropServices/internal/index.d.ts +604 -586
- package/System.Runtime.InteropServices/internal/metadata.json +73 -130
- package/System.Runtime.InteropServices.ComTypes/bindings.json +252 -252
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +296 -292
- package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +126 -126
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +12 -12
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +60 -58
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +102 -94
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +9 -9
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics/internal/index.d.ts +1252 -1244
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +9662 -9662
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -471
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +16033 -16033
- package/System.Runtime.Loader/internal/index.d.ts +9 -7
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +179 -171
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +5 -5
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -3
- package/System.Runtime.Serialization.Json/internal/index.d.ts +27 -27
- package/System.Runtime.Versioning/internal/index.d.ts +4 -4
- package/System.Security/internal/index.d.ts +45 -39
- package/System.Security.AccessControl/internal/index.d.ts +28 -26
- package/System.Security.Authentication/internal/index.d.ts +2 -2
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -7
- package/System.Security.Claims/internal/index.d.ts +94 -90
- package/System.Security.Cryptography/bindings.json +111 -111
- package/System.Security.Cryptography/internal/index.d.ts +842 -794
- package/System.Security.Cryptography/internal/metadata.json +52 -59
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +121 -113
- package/System.Security.Policy/internal/index.d.ts +6 -6
- package/System.Security.Principal/internal/index.d.ts +36 -30
- package/System.Text/bindings.json +28 -28
- package/System.Text/internal/index.d.ts +325 -319
- package/System.Text/internal/metadata.json +4 -4
- package/System.Text.Encodings.Web/internal/index.d.ts +18 -18
- package/System.Text.Json/internal/index.d.ts +184 -180
- package/System.Text.Json.Nodes/internal/index.d.ts +54 -54
- package/System.Text.Json.Schema/internal/index.d.ts +3 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +12 -12
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +85 -83
- package/System.Text.RegularExpressions/internal/index.d.ts +91 -89
- package/System.Text.RegularExpressions/internal/metadata.json +5 -40
- package/System.Text.Unicode/internal/index.d.ts +171 -171
- package/System.Threading/bindings.json +4 -4
- package/System.Threading/internal/index.d.ts +411 -377
- package/System.Threading/internal/metadata.json +2 -2
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +209 -205
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +106 -102
- package/System.Threading.Tasks.Dataflow/internal/metadata.json +0 -42
- package/System.Threading.Tasks.Sources/internal/index.d.ts +7 -7
- package/System.Timers/internal/index.d.ts +11 -9
- package/System.Transactions/internal/index.d.ts +83 -67
- package/System.Web/internal/index.d.ts +31 -31
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/bindings.json +35 -35
- package/System.Xml/internal/index.d.ts +343 -325
- package/System.Xml/internal/metadata.json +17 -17
- package/System.Xml.Linq/internal/index.d.ts +122 -110
- package/System.Xml.Resolvers/internal/index.d.ts +3 -3
- package/System.Xml.Schema/internal/index.d.ts +71 -71
- package/System.Xml.Serialization/internal/index.d.ts +120 -120
- package/System.Xml.XPath/internal/index.d.ts +40 -34
- package/System.Xml.Xsl/internal/index.d.ts +27 -27
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +99 -99
- package/__internal/extensions/index.d.ts +2294 -0
- package/package.json +1 -1
- package/internal/extensions/index.d.ts +0 -2280
|
@@ -73,15 +73,15 @@ export class JsonArray$instance extends JsonNode$instance {
|
|
|
73
73
|
removeAt(index: int): void;
|
|
74
74
|
removeRange(index: int, count: int): void;
|
|
75
75
|
writeTo(writer: Utf8JsonWriter, options?: JsonSerializerOptions): void;
|
|
76
|
-
static
|
|
76
|
+
static create(element: JsonElement, options?: Nullable_1<JsonNodeOptions>): JsonArray;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
export interface __JsonArray$views {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
As_ICollection_1(): System_Collections_Generic_Internal.ICollection_1$instance<JsonNode>;
|
|
82
|
+
As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<JsonNode>;
|
|
83
|
+
As_IList_1(): System_Collections_Generic_Internal.IList_1$instance<JsonNode>;
|
|
84
|
+
As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
export type JsonArray = JsonArray$instance & __JsonArray$views;
|
|
@@ -108,12 +108,12 @@ export abstract class JsonNode$instance {
|
|
|
108
108
|
toJsonString(options?: JsonSerializerOptions): string;
|
|
109
109
|
toString(): string;
|
|
110
110
|
abstract writeTo(writer: Utf8JsonWriter, options?: JsonSerializerOptions): void;
|
|
111
|
-
static
|
|
112
|
-
static
|
|
113
|
-
static
|
|
114
|
-
static
|
|
115
|
-
static
|
|
116
|
-
static
|
|
111
|
+
static deepEquals(node1: JsonNode, node2: JsonNode): boolean;
|
|
112
|
+
static parse4(utf8Json: Stream, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode;
|
|
113
|
+
static parse4(utf8Json: ReadOnlySpan_1<CLROf<byte>>, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode;
|
|
114
|
+
static parse4(json: string, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode;
|
|
115
|
+
static parse4(reader: { value: ref<Utf8JsonReader> }, nodeOptions?: Nullable_1<JsonNodeOptions>): JsonNode;
|
|
116
|
+
static parseAsync(utf8Json: Stream, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions, cancellationToken?: CancellationToken): Task_1<JsonNode>;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
|
|
@@ -140,16 +140,16 @@ export class JsonObject$instance extends JsonNode$instance {
|
|
|
140
140
|
tryGetPropertyValue(propertyName: string, jsonNode: { value: ref<JsonNode> }): boolean;
|
|
141
141
|
tryGetPropertyValue(propertyName: string, jsonNode: { value: ref<JsonNode> }, index: { value: ref<int> }): boolean;
|
|
142
142
|
writeTo(writer: Utf8JsonWriter, options?: JsonSerializerOptions): void;
|
|
143
|
-
static
|
|
143
|
+
static create(element: JsonElement, options?: Nullable_1<JsonNodeOptions>): JsonObject;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
|
|
147
147
|
export interface __JsonObject$views {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
148
|
+
As_ICollection_1(): System_Collections_Generic_Internal.ICollection_1$instance<KeyValuePair_2<CLROf<string>, JsonNode>>;
|
|
149
|
+
As_IDictionary_2(): System_Collections_Generic_Internal.IDictionary_2$instance<CLROf<string>, JsonNode>;
|
|
150
|
+
As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<KeyValuePair_2<CLROf<string>, JsonNode>>;
|
|
151
|
+
As_IList_1(): System_Collections_Generic_Internal.IList_1$instance<KeyValuePair_2<CLROf<string>, JsonNode>>;
|
|
152
|
+
As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
export type JsonObject = JsonObject$instance & __JsonObject$views;
|
|
@@ -157,43 +157,43 @@ export type JsonObject = JsonObject$instance & __JsonObject$views;
|
|
|
157
157
|
|
|
158
158
|
export abstract class JsonValue$instance extends JsonNode$instance {
|
|
159
159
|
abstract tryGetValue<T>(value: { value: ref<T> }): boolean;
|
|
160
|
-
static
|
|
161
|
-
static
|
|
162
|
-
static
|
|
163
|
-
static
|
|
164
|
-
static
|
|
165
|
-
static
|
|
166
|
-
static
|
|
167
|
-
static
|
|
168
|
-
static
|
|
169
|
-
static
|
|
170
|
-
static
|
|
171
|
-
static
|
|
172
|
-
static
|
|
173
|
-
static
|
|
174
|
-
static
|
|
175
|
-
static
|
|
176
|
-
static
|
|
177
|
-
static
|
|
178
|
-
static
|
|
179
|
-
static
|
|
180
|
-
static
|
|
181
|
-
static
|
|
182
|
-
static
|
|
183
|
-
static
|
|
184
|
-
static
|
|
185
|
-
static
|
|
186
|
-
static
|
|
187
|
-
static
|
|
188
|
-
static
|
|
189
|
-
static
|
|
190
|
-
static
|
|
191
|
-
static
|
|
192
|
-
static
|
|
193
|
-
static
|
|
194
|
-
static
|
|
195
|
-
static
|
|
196
|
-
static
|
|
160
|
+
static create(value: boolean, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
161
|
+
static create(value: byte, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
162
|
+
static create(value: char, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
163
|
+
static create(value: DateTime, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
164
|
+
static create(value: DateTimeOffset, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
165
|
+
static create(value: decimal, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
166
|
+
static create(value: double, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
167
|
+
static create(value: Guid, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
168
|
+
static create(value: short, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
169
|
+
static create(value: int, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
170
|
+
static create(value: long, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
171
|
+
static create(value: Nullable_1<CLROf<boolean>>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
172
|
+
static create(value: Nullable_1<CLROf<byte>>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
173
|
+
static create(value: Nullable_1<CLROf<char>>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
174
|
+
static create(value: Nullable_1<DateTime>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
175
|
+
static create(value: Nullable_1<DateTimeOffset>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
176
|
+
static create(value: Nullable_1<CLROf<decimal>>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
177
|
+
static create(value: Nullable_1<CLROf<double>>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
178
|
+
static create(value: Nullable_1<Guid>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
179
|
+
static create(value: Nullable_1<CLROf<short>>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
180
|
+
static create(value: Nullable_1<CLROf<int>>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
181
|
+
static create(value: Nullable_1<CLROf<long>>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
182
|
+
static create(value: Nullable_1<CLROf<sbyte>>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
183
|
+
static create(value: Nullable_1<CLROf<float>>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
184
|
+
static create(value: Nullable_1<JsonElement>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
185
|
+
static create(value: Nullable_1<CLROf<ushort>>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
186
|
+
static create(value: Nullable_1<CLROf<uint>>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
187
|
+
static create(value: Nullable_1<CLROf<ulong>>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
188
|
+
static create(value: sbyte, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
189
|
+
static create(value: float, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
190
|
+
static create(value: string, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
191
|
+
static create(value: JsonElement, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
192
|
+
static create(value: ushort, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
193
|
+
static create(value: uint, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
194
|
+
static create(value: ulong, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
195
|
+
static create<T>(value: T, jsonTypeInfo: JsonTypeInfo_1<T>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
196
|
+
static create<T>(value: T, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
|
|
@@ -51,15 +51,15 @@ export class JsonSchemaExporterOptions$instance {
|
|
|
51
51
|
constructor();
|
|
52
52
|
transformSchemaNode: Func_3<JsonSchemaExporterContext, JsonNode, JsonNode>;
|
|
53
53
|
treatNullObliviousAsNonNullable: boolean;
|
|
54
|
-
static readonly
|
|
54
|
+
static readonly default_: JsonSchemaExporterOptions;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
export type JsonSchemaExporterOptions = JsonSchemaExporterOptions$instance;
|
|
59
59
|
|
|
60
60
|
export abstract class JsonSchemaExporter$instance {
|
|
61
|
-
static
|
|
62
|
-
static
|
|
61
|
+
static getJsonSchemaAsNode(options: JsonSerializerOptions, type_: Type, exporterOptions?: JsonSchemaExporterOptions): JsonNode;
|
|
62
|
+
static getJsonSchemaAsNode(typeInfo: JsonTypeInfo, exporterOptions?: JsonSchemaExporterOptions): JsonNode;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
|
|
@@ -108,28 +108,28 @@ export enum JsonUnmappedMemberHandling {
|
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
export interface IJsonOnDeserialized$instance {
|
|
111
|
-
|
|
111
|
+
onDeserialized(): void;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
export type IJsonOnDeserialized = IJsonOnDeserialized$instance;
|
|
116
116
|
|
|
117
117
|
export interface IJsonOnDeserializing$instance {
|
|
118
|
-
|
|
118
|
+
onDeserializing(): void;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
export type IJsonOnDeserializing = IJsonOnDeserializing$instance;
|
|
123
123
|
|
|
124
124
|
export interface IJsonOnSerialized$instance {
|
|
125
|
-
|
|
125
|
+
onSerialized(): void;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
export type IJsonOnSerialized = IJsonOnSerialized$instance;
|
|
130
130
|
|
|
131
131
|
export interface IJsonOnSerializing$instance {
|
|
132
|
-
|
|
132
|
+
onSerializing(): void;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
|
|
@@ -191,7 +191,7 @@ export class JsonDerivedTypeAttribute$instance extends JsonAttribute$instance {
|
|
|
191
191
|
constructor(derivedType: Type, typeDiscriminator: string);
|
|
192
192
|
constructor(derivedType: Type, typeDiscriminator: int);
|
|
193
193
|
readonly derivedType: Type;
|
|
194
|
-
readonly typeDiscriminator:
|
|
194
|
+
readonly typeDiscriminator: unknown;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
|
|
@@ -293,7 +293,7 @@ export abstract class JsonSerializerContext$instance {
|
|
|
293
293
|
|
|
294
294
|
|
|
295
295
|
export interface __JsonSerializerContext$views {
|
|
296
|
-
|
|
296
|
+
As_IJsonTypeInfoResolver(): System_Text_Json_Serialization_Metadata_Internal.IJsonTypeInfoResolver$instance;
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
export type JsonSerializerContext = JsonSerializerContext$instance & __JsonSerializerContext$views;
|
|
@@ -313,7 +313,7 @@ export class JsonSourceGenerationOptionsAttribute$instance extends JsonAttribute
|
|
|
313
313
|
ignoreReadOnlyFields: boolean;
|
|
314
314
|
ignoreReadOnlyProperties: boolean;
|
|
315
315
|
includeFields: boolean;
|
|
316
|
-
indentCharacter:
|
|
316
|
+
indentCharacter: char;
|
|
317
317
|
indentSize: int;
|
|
318
318
|
maxDepth: int;
|
|
319
319
|
newLine: string;
|
|
@@ -372,8 +372,8 @@ export type JsonUnmappedMemberHandlingAttribute = JsonUnmappedMemberHandlingAttr
|
|
|
372
372
|
|
|
373
373
|
export abstract class ReferenceHandler$instance {
|
|
374
374
|
abstract createResolver(): ReferenceResolver;
|
|
375
|
-
static readonly
|
|
376
|
-
static readonly
|
|
375
|
+
static readonly preserve: ReferenceHandler;
|
|
376
|
+
static readonly ignoreCycles: ReferenceHandler;
|
|
377
377
|
}
|
|
378
378
|
|
|
379
379
|
|
|
@@ -388,9 +388,9 @@ export class ReferenceHandler_1$instance<T extends ReferenceResolver> extends Re
|
|
|
388
388
|
export type ReferenceHandler_1<T extends ReferenceResolver> = ReferenceHandler_1$instance<T>;
|
|
389
389
|
|
|
390
390
|
export abstract class ReferenceResolver$instance {
|
|
391
|
-
abstract addReference(referenceId: string, value:
|
|
392
|
-
abstract getReference(value:
|
|
393
|
-
abstract resolveReference(referenceId: string):
|
|
391
|
+
abstract addReference(referenceId: string, value: unknown): void;
|
|
392
|
+
abstract getReference(value: unknown, alreadyExists: { value: ref<boolean> }): string;
|
|
393
|
+
abstract resolveReference(referenceId: string): unknown;
|
|
394
394
|
}
|
|
395
395
|
|
|
396
396
|
|
|
@@ -50,7 +50,7 @@ export enum JsonTypeInfoKind {
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
export interface IJsonTypeInfoResolver$instance {
|
|
53
|
-
|
|
53
|
+
getTypeInfo(type_: Type, options: JsonSerializerOptions): JsonTypeInfo;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
|
|
@@ -61,7 +61,7 @@ export class JsonDerivedType$instance {
|
|
|
61
61
|
constructor(derivedType: Type, typeDiscriminator: int);
|
|
62
62
|
constructor(derivedType: Type, typeDiscriminator: string);
|
|
63
63
|
readonly derivedType: Type;
|
|
64
|
-
readonly typeDiscriminator:
|
|
64
|
+
readonly typeDiscriminator: unknown;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
|
|
@@ -75,9 +75,11 @@ export class DefaultJsonTypeInfoResolver$instance {
|
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
export interface __DefaultJsonTypeInfoResolver$views {
|
|
78
|
-
|
|
78
|
+
As_IJsonTypeInfoResolver(): IJsonTypeInfoResolver$instance;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
+
export interface DefaultJsonTypeInfoResolver$instance extends IJsonTypeInfoResolver$instance {}
|
|
82
|
+
|
|
81
83
|
export type DefaultJsonTypeInfoResolver = DefaultJsonTypeInfoResolver$instance & __DefaultJsonTypeInfoResolver$views;
|
|
82
84
|
|
|
83
85
|
|
|
@@ -99,7 +101,7 @@ export class JsonObjectInfoValues_1$instance<T> {
|
|
|
99
101
|
constructorParameterMetadataInitializer: Func_1<JsonParameterInfoValues[]>;
|
|
100
102
|
numberHandling: JsonNumberHandling;
|
|
101
103
|
objectCreator: Func_1<T>;
|
|
102
|
-
objectWithParameterizedConstructorCreator: Func_2<
|
|
104
|
+
objectWithParameterizedConstructorCreator: Func_2<unknown[], T>;
|
|
103
105
|
propertyMetadataInitializer: Func_2<JsonSerializerContext, JsonPropertyInfo[]>;
|
|
104
106
|
serializeHandler: Action_2<Utf8JsonWriter, T>;
|
|
105
107
|
}
|
|
@@ -110,7 +112,7 @@ export type JsonObjectInfoValues_1<T> = JsonObjectInfoValues_1$instance<T>;
|
|
|
110
112
|
export abstract class JsonParameterInfo$instance {
|
|
111
113
|
readonly attributeProvider: ICustomAttributeProvider;
|
|
112
114
|
readonly declaringType: Type;
|
|
113
|
-
readonly defaultValue:
|
|
115
|
+
readonly defaultValue: unknown;
|
|
114
116
|
readonly hasDefaultValue: boolean;
|
|
115
117
|
readonly isMemberInitializer: boolean;
|
|
116
118
|
readonly isNullable: boolean;
|
|
@@ -124,7 +126,7 @@ export type JsonParameterInfo = JsonParameterInfo$instance;
|
|
|
124
126
|
|
|
125
127
|
export class JsonParameterInfoValues$instance {
|
|
126
128
|
constructor();
|
|
127
|
-
defaultValue:
|
|
129
|
+
defaultValue: unknown;
|
|
128
130
|
hasDefaultValue: boolean;
|
|
129
131
|
isMemberInitializer: boolean;
|
|
130
132
|
isNullable: boolean;
|
|
@@ -152,7 +154,7 @@ export abstract class JsonPropertyInfo$instance {
|
|
|
152
154
|
attributeProvider: ICustomAttributeProvider;
|
|
153
155
|
customConverter: JsonConverter;
|
|
154
156
|
readonly declaringType: Type;
|
|
155
|
-
get_: Func_2<
|
|
157
|
+
get_: Func_2<unknown, unknown>;
|
|
156
158
|
isExtensionData: boolean;
|
|
157
159
|
isGetNullable: boolean;
|
|
158
160
|
isRequired: boolean;
|
|
@@ -163,8 +165,8 @@ export abstract class JsonPropertyInfo$instance {
|
|
|
163
165
|
readonly options: JsonSerializerOptions;
|
|
164
166
|
order: int;
|
|
165
167
|
readonly propertyType: Type;
|
|
166
|
-
set_: Action_2<
|
|
167
|
-
shouldSerialize: Func_3<
|
|
168
|
+
set_: Action_2<unknown, unknown>;
|
|
169
|
+
shouldSerialize: Func_3<unknown, unknown, CLROf<boolean>>;
|
|
168
170
|
}
|
|
169
171
|
|
|
170
172
|
|
|
@@ -175,7 +177,7 @@ export class JsonPropertyInfoValues_1$instance<T> {
|
|
|
175
177
|
attributeProviderFactory: Func_1<ICustomAttributeProvider>;
|
|
176
178
|
converter: JsonConverter_1<T>;
|
|
177
179
|
declaringType: Type;
|
|
178
|
-
getter: Func_2<
|
|
180
|
+
getter: Func_2<unknown, T>;
|
|
179
181
|
hasJsonInclude: boolean;
|
|
180
182
|
ignoreCondition: Nullable_1<JsonIgnoreCondition>;
|
|
181
183
|
isExtensionData: boolean;
|
|
@@ -186,7 +188,7 @@ export class JsonPropertyInfoValues_1$instance<T> {
|
|
|
186
188
|
numberHandling: Nullable_1<JsonNumberHandling>;
|
|
187
189
|
propertyName: string;
|
|
188
190
|
propertyTypeInfo: JsonTypeInfo;
|
|
189
|
-
setter: Action_2<
|
|
191
|
+
setter: Action_2<unknown, T>;
|
|
190
192
|
}
|
|
191
193
|
|
|
192
194
|
|
|
@@ -195,16 +197,16 @@ export type JsonPropertyInfoValues_1<T> = JsonPropertyInfoValues_1$instance<T>;
|
|
|
195
197
|
export abstract class JsonTypeInfo$instance {
|
|
196
198
|
readonly constructorAttributeProvider: ICustomAttributeProvider;
|
|
197
199
|
readonly converter: JsonConverter;
|
|
198
|
-
createObject: Func_1<
|
|
200
|
+
createObject: Func_1<unknown>;
|
|
199
201
|
readonly elementType: Type;
|
|
200
202
|
readonly isReadOnly: boolean;
|
|
201
203
|
readonly keyType: Type;
|
|
202
204
|
readonly kind: JsonTypeInfoKind;
|
|
203
205
|
numberHandling: Nullable_1<JsonNumberHandling>;
|
|
204
|
-
onDeserialized: Action_1<
|
|
205
|
-
onDeserializing: Action_1<
|
|
206
|
-
onSerialized: Action_1<
|
|
207
|
-
onSerializing: Action_1<
|
|
206
|
+
onDeserialized: Action_1<unknown>;
|
|
207
|
+
onDeserializing: Action_1<unknown>;
|
|
208
|
+
onSerialized: Action_1<unknown>;
|
|
209
|
+
onSerializing: Action_1<unknown>;
|
|
208
210
|
readonly options: JsonSerializerOptions;
|
|
209
211
|
originatingResolver: IJsonTypeInfoResolver;
|
|
210
212
|
polymorphismOptions: JsonPolymorphismOptions;
|
|
@@ -214,8 +216,8 @@ export abstract class JsonTypeInfo$instance {
|
|
|
214
216
|
unmappedMemberHandling: Nullable_1<JsonUnmappedMemberHandling>;
|
|
215
217
|
createJsonPropertyInfo(propertyType: Type, name: string): JsonPropertyInfo;
|
|
216
218
|
makeReadOnly(): void;
|
|
217
|
-
static
|
|
218
|
-
static
|
|
219
|
+
static createJsonTypeInfo<T>(options: JsonSerializerOptions): JsonTypeInfo_1<T>;
|
|
220
|
+
static createJsonTypeInfo(type_: Type, options: JsonSerializerOptions): JsonTypeInfo;
|
|
219
221
|
}
|
|
220
222
|
|
|
221
223
|
|
|
@@ -230,77 +232,77 @@ export class JsonTypeInfo_1$instance<T> extends JsonTypeInfo$instance {
|
|
|
230
232
|
export type JsonTypeInfo_1<T> = JsonTypeInfo_1$instance<T>;
|
|
231
233
|
|
|
232
234
|
export abstract class JsonMetadataServices$instance {
|
|
233
|
-
static readonly
|
|
234
|
-
static readonly
|
|
235
|
-
static readonly
|
|
236
|
-
static readonly
|
|
237
|
-
static readonly
|
|
238
|
-
static readonly
|
|
239
|
-
static readonly
|
|
240
|
-
static readonly
|
|
241
|
-
static readonly
|
|
242
|
-
static readonly
|
|
243
|
-
static readonly
|
|
244
|
-
static readonly
|
|
245
|
-
static readonly
|
|
246
|
-
static readonly
|
|
247
|
-
static readonly
|
|
248
|
-
static readonly
|
|
249
|
-
static readonly
|
|
250
|
-
static readonly
|
|
251
|
-
static readonly
|
|
252
|
-
static readonly
|
|
253
|
-
static readonly
|
|
254
|
-
static readonly
|
|
255
|
-
static readonly
|
|
256
|
-
static readonly
|
|
257
|
-
static readonly
|
|
258
|
-
static readonly
|
|
259
|
-
static readonly
|
|
260
|
-
static readonly
|
|
261
|
-
static readonly
|
|
262
|
-
static readonly
|
|
263
|
-
static readonly
|
|
264
|
-
static readonly
|
|
265
|
-
static readonly
|
|
266
|
-
static readonly
|
|
267
|
-
static readonly
|
|
268
|
-
static
|
|
269
|
-
static
|
|
270
|
-
static
|
|
271
|
-
static
|
|
272
|
-
static
|
|
273
|
-
static
|
|
274
|
-
static
|
|
275
|
-
static
|
|
276
|
-
static
|
|
277
|
-
static
|
|
278
|
-
static
|
|
279
|
-
static
|
|
280
|
-
static
|
|
281
|
-
static
|
|
282
|
-
static
|
|
283
|
-
static
|
|
284
|
-
static
|
|
285
|
-
static
|
|
286
|
-
static
|
|
287
|
-
static
|
|
288
|
-
static
|
|
289
|
-
static
|
|
290
|
-
static
|
|
291
|
-
static
|
|
292
|
-
static
|
|
293
|
-
static
|
|
294
|
-
static
|
|
235
|
+
static readonly booleanConverter: JsonConverter_1<CLROf<boolean>>;
|
|
236
|
+
static readonly byteArrayConverter: JsonConverter_1<byte[]>;
|
|
237
|
+
static readonly byteConverter: JsonConverter_1<CLROf<byte>>;
|
|
238
|
+
static readonly charConverter: JsonConverter_1<CLROf<char>>;
|
|
239
|
+
static readonly dateTimeConverter: JsonConverter_1<DateTime>;
|
|
240
|
+
static readonly dateTimeOffsetConverter: JsonConverter_1<DateTimeOffset>;
|
|
241
|
+
static readonly dateOnlyConverter: JsonConverter_1<DateOnly>;
|
|
242
|
+
static readonly timeOnlyConverter: JsonConverter_1<TimeOnly>;
|
|
243
|
+
static readonly decimalConverter: JsonConverter_1<CLROf<decimal>>;
|
|
244
|
+
static readonly doubleConverter: JsonConverter_1<CLROf<double>>;
|
|
245
|
+
static readonly guidConverter: JsonConverter_1<Guid>;
|
|
246
|
+
static readonly int16Converter: JsonConverter_1<CLROf<short>>;
|
|
247
|
+
static readonly int32Converter: JsonConverter_1<CLROf<int>>;
|
|
248
|
+
static readonly int64Converter: JsonConverter_1<CLROf<long>>;
|
|
249
|
+
static readonly int128Converter: JsonConverter_1<CLROf<int128>>;
|
|
250
|
+
static readonly uInt128Converter: JsonConverter_1<CLROf<uint128>>;
|
|
251
|
+
static readonly jsonArrayConverter: JsonConverter_1<JsonArray>;
|
|
252
|
+
static readonly jsonElementConverter: JsonConverter_1<JsonElement>;
|
|
253
|
+
static readonly jsonNodeConverter: JsonConverter_1<JsonNode>;
|
|
254
|
+
static readonly jsonObjectConverter: JsonConverter_1<JsonObject>;
|
|
255
|
+
static readonly jsonValueConverter: JsonConverter_1<JsonValue>;
|
|
256
|
+
static readonly jsonDocumentConverter: JsonConverter_1<JsonDocument>;
|
|
257
|
+
static readonly memoryByteConverter: JsonConverter_1<Memory_1<CLROf<byte>>>;
|
|
258
|
+
static readonly readOnlyMemoryByteConverter: JsonConverter_1<ReadOnlyMemory_1<CLROf<byte>>>;
|
|
259
|
+
static readonly objectConverter: JsonConverter_1<unknown>;
|
|
260
|
+
static readonly halfConverter: JsonConverter_1<CLROf<half>>;
|
|
261
|
+
static readonly singleConverter: JsonConverter_1<CLROf<float>>;
|
|
262
|
+
static readonly sByteConverter: JsonConverter_1<CLROf<sbyte>>;
|
|
263
|
+
static readonly stringConverter: JsonConverter_1<CLROf<string>>;
|
|
264
|
+
static readonly timeSpanConverter: JsonConverter_1<TimeSpan>;
|
|
265
|
+
static readonly uInt16Converter: JsonConverter_1<CLROf<ushort>>;
|
|
266
|
+
static readonly uInt32Converter: JsonConverter_1<CLROf<uint>>;
|
|
267
|
+
static readonly uInt64Converter: JsonConverter_1<CLROf<ulong>>;
|
|
268
|
+
static readonly uriConverter: JsonConverter_1<Uri>;
|
|
269
|
+
static readonly versionConverter: JsonConverter_1<Version>;
|
|
270
|
+
static createArrayInfo<TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TElement[]>): JsonTypeInfo_1<TElement[]>;
|
|
271
|
+
static createConcurrentQueueInfo<TCollection extends ConcurrentQueue_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
272
|
+
static createConcurrentStackInfo<TCollection extends ConcurrentStack_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
273
|
+
static createDictionaryInfo<TCollection extends Dictionary_2<TKey, TValue>, TKey, TValue>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
274
|
+
static createIAsyncEnumerableInfo<TCollection extends IAsyncEnumerable_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
275
|
+
static createICollectionInfo<TCollection extends ICollection_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
276
|
+
static createIDictionaryInfo<TCollection extends IDictionary_2<TKey, TValue>, TKey, TValue>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
277
|
+
static createIEnumerableInfo<TCollection extends IEnumerable_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
278
|
+
static createIListInfo<TCollection extends IList>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
279
|
+
static createImmutableDictionaryInfo<TCollection extends IReadOnlyDictionary_2<TKey, TValue>, TKey, TValue>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, createRangeFunc: Func_2<IEnumerable_1<KeyValuePair_2<TKey, TValue>>, TCollection>): JsonTypeInfo_1<TCollection>;
|
|
280
|
+
static createImmutableEnumerableInfo<TCollection extends IEnumerable_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, createRangeFunc: Func_2<IEnumerable_1<TElement>, TCollection>): JsonTypeInfo_1<TCollection>;
|
|
281
|
+
static createIReadOnlyDictionaryInfo<TCollection extends IReadOnlyDictionary_2<TKey, TValue>, TKey, TValue>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
282
|
+
static createISetInfo<TCollection extends ISet_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
283
|
+
static createListInfo<TCollection extends List_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
284
|
+
static createMemoryInfo<TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<Memory_1<TElement>>): JsonTypeInfo_1<Memory_1<TElement>>;
|
|
285
|
+
static createObjectInfo<T>(options: JsonSerializerOptions, objectInfo: JsonObjectInfoValues_1<T>): JsonTypeInfo_1<T>;
|
|
286
|
+
static createPropertyInfo<T>(options: JsonSerializerOptions, propertyInfo: JsonPropertyInfoValues_1<T>): JsonPropertyInfo;
|
|
287
|
+
static createQueueInfo2<TCollection extends IEnumerable>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, addFunc: Action_2<TCollection, unknown>): JsonTypeInfo_1<TCollection>;
|
|
288
|
+
static createQueueInfo2<TCollection extends Queue_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
289
|
+
static createReadOnlyMemoryInfo<TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<ReadOnlyMemory_1<TElement>>): JsonTypeInfo_1<ReadOnlyMemory_1<TElement>>;
|
|
290
|
+
static createStackInfo2<TCollection extends IEnumerable>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, addFunc: Action_2<TCollection, unknown>): JsonTypeInfo_1<TCollection>;
|
|
291
|
+
static createStackInfo2<TCollection extends Stack_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
292
|
+
static createValueInfo<T>(options: JsonSerializerOptions, converter: JsonConverter): JsonTypeInfo_1<T>;
|
|
293
|
+
static getEnumConverter<T extends number>(options: JsonSerializerOptions): JsonConverter_1<T>;
|
|
294
|
+
static getNullableConverter<T extends unknown>(underlyingTypeInfo: JsonTypeInfo_1<T>): JsonConverter_1<Nullable_1<T>>;
|
|
295
|
+
static getNullableConverter<T extends unknown>(options: JsonSerializerOptions): JsonConverter_1<Nullable_1<T>>;
|
|
296
|
+
static getUnsupportedTypeConverter<T>(): JsonConverter_1<T>;
|
|
295
297
|
}
|
|
296
298
|
|
|
297
299
|
|
|
298
300
|
export type JsonMetadataServices = JsonMetadataServices$instance;
|
|
299
301
|
|
|
300
302
|
export abstract class JsonTypeInfoResolver$instance {
|
|
301
|
-
static
|
|
302
|
-
static
|
|
303
|
-
static
|
|
303
|
+
static combine2(resolvers: ReadOnlySpan_1<IJsonTypeInfoResolver>): IJsonTypeInfoResolver;
|
|
304
|
+
static combine2(resolvers: IJsonTypeInfoResolver[]): IJsonTypeInfoResolver;
|
|
305
|
+
static withAddedModifier(resolver: IJsonTypeInfoResolver, modifier: Action_1<JsonTypeInfo>): IJsonTypeInfoResolver;
|
|
304
306
|
}
|
|
305
307
|
|
|
306
308
|
|