@tsonic/dotnet 0.7.4 → 0.7.7
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 +0 -25
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -25
- package/Microsoft.VisualBasic/bindings.json +203 -29
- package/Microsoft.VisualBasic/internal/index.d.ts +30 -55
- package/Microsoft.VisualBasic/internal/metadata.json +203 -29
- package/Microsoft.VisualBasic.CompilerServices/bindings.json +25 -3
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +4 -29
- package/Microsoft.VisualBasic.CompilerServices/internal/metadata.json +25 -3
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +6 -31
- package/Microsoft.Win32/internal/index.d.ts +0 -25
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +0 -25
- package/System/bindings.json +4800 -552
- package/System/internal/index.d.ts +2537 -395
- package/System/internal/metadata.json +4800 -552
- package/System.Buffers/bindings.json +196 -24
- package/System.Buffers/internal/index.d.ts +29 -54
- package/System.Buffers/internal/metadata.json +196 -24
- package/System.Buffers.Binary/bindings.json +182 -26
- package/System.Buffers.Binary/internal/index.d.ts +115 -140
- package/System.Buffers.Binary/internal/metadata.json +182 -26
- package/System.Buffers.Text/bindings.json +431 -49
- package/System.Buffers.Text/internal/index.d.ts +64 -89
- package/System.Buffers.Text/internal/metadata.json +431 -49
- package/System.CodeDom.Compiler/internal/index.d.ts +6 -31
- package/System.Collections/bindings.json +11 -1
- package/System.Collections/internal/index.d.ts +2 -27
- package/System.Collections/internal/metadata.json +11 -1
- package/System.Collections.Concurrent/bindings.json +211 -29
- package/System.Collections.Concurrent/internal/index.d.ts +31 -56
- package/System.Collections.Concurrent/internal/metadata.json +211 -29
- package/System.Collections.Frozen/bindings.json +56 -8
- package/System.Collections.Frozen/internal/index.d.ts +9 -34
- package/System.Collections.Frozen/internal/metadata.json +56 -8
- package/System.Collections.Generic/bindings.json +273 -35
- package/System.Collections.Generic/internal/index.d.ts +36 -61
- package/System.Collections.Generic/internal/metadata.json +273 -35
- package/System.Collections.Immutable/bindings.json +362 -50
- package/System.Collections.Immutable/internal/index.d.ts +49 -74
- package/System.Collections.Immutable/internal/metadata.json +362 -50
- package/System.Collections.ObjectModel/bindings.json +28 -4
- package/System.Collections.ObjectModel/internal/index.d.ts +3 -28
- package/System.Collections.ObjectModel/internal/metadata.json +28 -4
- package/System.Collections.Specialized/internal/index.d.ts +0 -25
- package/System.ComponentModel/bindings.json +174 -18
- package/System.ComponentModel/internal/index.d.ts +22 -47
- package/System.ComponentModel/internal/metadata.json +174 -18
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +9 -34
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +0 -25
- package/System.ComponentModel.Design/internal/index.d.ts +0 -25
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +0 -25
- package/System.Configuration.Assemblies/internal/index.d.ts +0 -25
- package/System.Data/internal/index.d.ts +7 -32
- package/System.Data.Common/bindings.json +14 -2
- package/System.Data.Common/internal/index.d.ts +27 -52
- package/System.Data.Common/internal/metadata.json +14 -2
- package/System.Data.SqlTypes/internal/index.d.ts +1 -26
- package/System.Diagnostics/bindings.json +181 -23
- package/System.Diagnostics/internal/index.d.ts +87 -112
- package/System.Diagnostics/internal/metadata.json +181 -23
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +0 -25
- package/System.Diagnostics.Contracts/bindings.json +7 -1
- package/System.Diagnostics.Contracts/internal/index.d.ts +4 -29
- package/System.Diagnostics.Contracts/internal/metadata.json +7 -1
- package/System.Diagnostics.Metrics/bindings.json +35 -5
- package/System.Diagnostics.Metrics/internal/index.d.ts +44 -69
- package/System.Diagnostics.Metrics/internal/metadata.json +35 -5
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +0 -25
- package/System.Diagnostics.Tracing/bindings.json +37 -3
- package/System.Diagnostics.Tracing/internal/index.d.ts +10 -35
- package/System.Diagnostics.Tracing/internal/metadata.json +37 -3
- package/System.Drawing/internal/index.d.ts +0 -25
- package/System.Dynamic/bindings.json +63 -9
- package/System.Dynamic/internal/index.d.ts +17 -42
- package/System.Dynamic/internal/metadata.json +63 -9
- package/System.Formats.Asn1/bindings.json +451 -49
- package/System.Formats.Asn1/internal/index.d.ts +69 -94
- package/System.Formats.Asn1/internal/metadata.json +451 -49
- package/System.Formats.Tar/internal/index.d.ts +4 -29
- package/System.Globalization/bindings.json +28 -4
- package/System.Globalization/internal/index.d.ts +18 -43
- package/System.Globalization/internal/metadata.json +28 -4
- package/System.IO/bindings.json +35 -5
- package/System.IO/internal/index.d.ts +197 -222
- package/System.IO/internal/metadata.json +35 -5
- package/System.IO.Compression/bindings.json +50 -6
- package/System.IO.Compression/internal/index.d.ts +51 -76
- package/System.IO.Compression/internal/metadata.json +50 -6
- package/System.IO.Enumeration/bindings.json +42 -6
- package/System.IO.Enumeration/internal/index.d.ts +11 -36
- package/System.IO.Enumeration/internal/metadata.json +42 -6
- package/System.IO.IsolatedStorage/internal/index.d.ts +11 -36
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +0 -25
- package/System.IO.Pipelines/bindings.json +7 -1
- package/System.IO.Pipelines/internal/index.d.ts +17 -42
- package/System.IO.Pipelines/internal/metadata.json +7 -1
- package/System.IO.Pipes/internal/index.d.ts +11 -36
- package/System.Linq/bindings.json +7 -1
- package/System.Linq/internal/index.d.ts +332 -357
- package/System.Linq/internal/metadata.json +7 -1
- package/System.Linq.Expressions/bindings.json +14 -2
- package/System.Linq.Expressions/internal/index.d.ts +3 -28
- package/System.Linq.Expressions/internal/metadata.json +14 -2
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -25
- package/System.Net/bindings.json +175 -25
- package/System.Net/internal/index.d.ts +36 -61
- package/System.Net/internal/metadata.json +175 -25
- package/System.Net.Cache/internal/index.d.ts +0 -25
- package/System.Net.Http/bindings.json +21 -3
- package/System.Net.Http/internal/index.d.ts +21 -46
- package/System.Net.Http/internal/metadata.json +21 -3
- package/System.Net.Http.Headers/bindings.json +154 -22
- package/System.Net.Http.Headers/internal/index.d.ts +67 -92
- package/System.Net.Http.Headers/internal/metadata.json +154 -22
- package/System.Net.Http.Json/internal/index.d.ts +0 -25
- package/System.Net.Http.Metrics/internal/index.d.ts +0 -25
- package/System.Net.Mail/bindings.json +21 -3
- package/System.Net.Mail/internal/index.d.ts +4 -29
- package/System.Net.Mail/internal/metadata.json +21 -3
- package/System.Net.Mime/internal/index.d.ts +0 -25
- package/System.Net.NetworkInformation/bindings.json +14 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +4 -29
- package/System.Net.NetworkInformation/internal/metadata.json +14 -2
- package/System.Net.Quic/internal/index.d.ts +14 -39
- package/System.Net.Security/bindings.json +43 -5
- package/System.Net.Security/internal/index.d.ts +29 -54
- package/System.Net.Security/internal/metadata.json +43 -5
- package/System.Net.ServerSentEvents/internal/index.d.ts +4 -29
- package/System.Net.Sockets/bindings.json +224 -28
- package/System.Net.Sockets/internal/index.d.ts +108 -133
- package/System.Net.Sockets/internal/metadata.json +224 -28
- package/System.Net.WebSockets/internal/index.d.ts +29 -54
- package/System.Numerics/bindings.json +1030 -142
- package/System.Numerics/internal/index.d.ts +264 -289
- package/System.Numerics/internal/metadata.json +1030 -142
- package/System.Reflection/bindings.json +29 -3
- package/System.Reflection/internal/index.d.ts +4 -29
- package/System.Reflection/internal/metadata.json +29 -3
- package/System.Reflection.Emit/bindings.json +26 -2
- package/System.Reflection.Emit/internal/index.d.ts +3 -28
- package/System.Reflection.Emit/internal/metadata.json +26 -2
- package/System.Reflection.Metadata/bindings.json +46 -6
- package/System.Reflection.Metadata/internal/index.d.ts +31 -56
- package/System.Reflection.Metadata/internal/metadata.json +46 -6
- package/System.Reflection.Metadata.Ecma335/bindings.json +126 -14
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +24 -49
- package/System.Reflection.Metadata.Ecma335/internal/metadata.json +126 -14
- package/System.Reflection.PortableExecutable/bindings.json +18 -2
- package/System.Reflection.PortableExecutable/internal/index.d.ts +8 -33
- package/System.Reflection.PortableExecutable/internal/metadata.json +18 -2
- package/System.Resources/bindings.json +11 -1
- package/System.Resources/internal/index.d.ts +3 -28
- package/System.Resources/internal/metadata.json +11 -1
- package/System.Runtime/internal/index.d.ts +0 -25
- package/System.Runtime.CompilerServices/bindings.json +495 -57
- package/System.Runtime.CompilerServices/internal/index.d.ts +68 -93
- package/System.Runtime.CompilerServices/internal/metadata.json +495 -57
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +0 -25
- package/System.Runtime.ExceptionServices/internal/index.d.ts +1 -26
- package/System.Runtime.InteropServices/bindings.json +377 -47
- package/System.Runtime.InteropServices/internal/index.d.ts +68 -93
- package/System.Runtime.InteropServices/internal/metadata.json +377 -47
- package/System.Runtime.InteropServices.ComTypes/bindings.json +832 -96
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +107 -132
- package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +832 -96
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +1 -26
- package/System.Runtime.InteropServices.JavaScript/bindings.json +411 -57
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +72 -97
- package/System.Runtime.InteropServices.JavaScript/internal/metadata.json +411 -57
- package/System.Runtime.InteropServices.Marshalling/bindings.json +85 -11
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +26 -51
- package/System.Runtime.InteropServices.Marshalling/internal/metadata.json +85 -11
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +28 -4
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +3 -28
- package/System.Runtime.InteropServices.ObjectiveC/internal/metadata.json +28 -4
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -26
- package/System.Runtime.Intrinsics/bindings.json +112 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +800 -825
- package/System.Runtime.Intrinsics/internal/metadata.json +112 -16
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +4787 -4812
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -496
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +3513 -3538
- package/System.Runtime.Loader/internal/index.d.ts +0 -25
- package/System.Runtime.Remoting/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization/bindings.json +71 -9
- package/System.Runtime.Serialization/internal/index.d.ts +9 -34
- package/System.Runtime.Serialization/internal/metadata.json +71 -9
- package/System.Runtime.Serialization.DataContracts/bindings.json +26 -2
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -28
- package/System.Runtime.Serialization.DataContracts/internal/metadata.json +26 -2
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization.Json/internal/index.d.ts +0 -25
- package/System.Runtime.Versioning/internal/index.d.ts +0 -25
- package/System.Security/internal/index.d.ts +1 -26
- package/System.Security.AccessControl/bindings.json +14 -2
- package/System.Security.AccessControl/internal/index.d.ts +3 -28
- package/System.Security.AccessControl/internal/metadata.json +14 -2
- package/System.Security.Authentication/internal/index.d.ts +0 -25
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +0 -25
- package/System.Security.Claims/internal/index.d.ts +1 -26
- package/System.Security.Cryptography/bindings.json +1348 -192
- package/System.Security.Cryptography/internal/index.d.ts +593 -618
- package/System.Security.Cryptography/internal/metadata.json +1348 -192
- package/System.Security.Cryptography.X509Certificates/bindings.json +81 -11
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +67 -92
- package/System.Security.Cryptography.X509Certificates/internal/metadata.json +81 -11
- package/System.Security.Permissions/internal/index.d.ts +0 -25
- package/System.Security.Policy/internal/index.d.ts +0 -25
- package/System.Security.Principal/internal/index.d.ts +0 -25
- package/System.Text/bindings.json +494 -58
- package/System.Text/internal/index.d.ts +137 -162
- package/System.Text/internal/metadata.json +494 -58
- package/System.Text.Encodings.Web/bindings.json +29 -3
- package/System.Text.Encodings.Web/internal/index.d.ts +7 -32
- package/System.Text.Encodings.Web/internal/metadata.json +29 -3
- package/System.Text.Json/bindings.json +309 -43
- package/System.Text.Json/internal/index.d.ts +141 -166
- package/System.Text.Json/internal/metadata.json +309 -43
- package/System.Text.Json.Nodes/bindings.json +46 -6
- package/System.Text.Json.Nodes/internal/index.d.ts +29 -54
- package/System.Text.Json.Nodes/internal/metadata.json +46 -6
- package/System.Text.Json.Schema/internal/index.d.ts +1 -26
- package/System.Text.Json.Serialization/bindings.json +21 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +4 -29
- package/System.Text.Json.Serialization/internal/metadata.json +21 -3
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +20 -45
- package/System.Text.RegularExpressions/bindings.json +14 -2
- package/System.Text.RegularExpressions/internal/index.d.ts +26 -51
- package/System.Text.RegularExpressions/internal/metadata.json +14 -2
- package/System.Text.Unicode/bindings.json +58 -6
- package/System.Text.Unicode/internal/index.d.ts +12 -37
- package/System.Text.Unicode/internal/metadata.json +58 -6
- package/System.Threading/bindings.json +1012 -140
- package/System.Threading/internal/index.d.ts +149 -174
- package/System.Threading/internal/metadata.json +1012 -140
- package/System.Threading.Channels/bindings.json +14 -2
- package/System.Threading.Channels/internal/index.d.ts +5 -30
- package/System.Threading.Channels/internal/metadata.json +14 -2
- package/System.Threading.Tasks/internal/index.d.ts +23 -48
- package/System.Threading.Tasks.Dataflow/bindings.json +378 -54
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +33 -58
- package/System.Threading.Tasks.Dataflow/internal/metadata.json +378 -54
- package/System.Threading.Tasks.Sources/internal/index.d.ts +0 -25
- package/System.Timers/internal/index.d.ts +0 -25
- package/System.Transactions/internal/index.d.ts +0 -25
- package/System.Web/internal/index.d.ts +0 -25
- package/System.Windows.Input/internal/index.d.ts +0 -25
- package/System.Windows.Markup/internal/index.d.ts +0 -25
- package/System.Xml/bindings.json +197 -27
- package/System.Xml/internal/index.d.ts +35 -60
- package/System.Xml/internal/metadata.json +197 -27
- package/System.Xml.Linq/internal/index.d.ts +0 -25
- package/System.Xml.Resolvers/internal/index.d.ts +0 -25
- package/System.Xml.Schema/internal/index.d.ts +0 -25
- package/System.Xml.Serialization/internal/index.d.ts +0 -25
- package/System.Xml.XPath/internal/index.d.ts +1 -26
- package/System.Xml.Xsl/internal/index.d.ts +1 -26
- package/System.Xml.Xsl.Runtime/bindings.json +35 -5
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +7 -32
- package/System.Xml.Xsl.Runtime/internal/metadata.json +35 -5
- package/System.d.ts +21 -0
- package/__internal/extensions/index.d.ts +463 -463
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/types';
|
|
7
7
|
|
|
8
8
|
// Import support types from @tsonic/types
|
|
9
|
-
import type { ptr
|
|
9
|
+
import type { ptr } from "@tsonic/types";
|
|
10
10
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
12
|
import type { IBufferWriter_1, ReadOnlySequence_1 } from "../../System.Buffers/internal/index.js";
|
|
@@ -28,31 +28,6 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
|
|
|
28
28
|
import * as System_Internal from "../../System/internal/index.js";
|
|
29
29
|
import type { Boolean as ClrBoolean, Byte, Char, DateTime, DateTimeOffset, Decimal, Double, Enum, Exception, Guid, IAsyncDisposable, IComparable, IConvertible, IDisposable, IEquatable_1, IFormatProvider, IFormattable, Int16, Int32, Int64, ISpanFormattable, Nullable_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, SByte, SequencePosition, Single, Span_1, String as ClrString, Type, TypeCode, UInt16, UInt32, UInt64, ValueType, Void } from "../../System/internal/index.js";
|
|
30
30
|
|
|
31
|
-
// CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
|
|
32
|
-
// This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
|
|
33
|
-
// Value positions (parameters, return types) use lowercase primitives for ergonomics
|
|
34
|
-
export type CLROf<T> =
|
|
35
|
-
T extends sbyte ? System_Internal.SByte :
|
|
36
|
-
T extends short ? System_Internal.Int16 :
|
|
37
|
-
T extends int ? System_Internal.Int32 :
|
|
38
|
-
T extends long ? System_Internal.Int64 :
|
|
39
|
-
T extends int128 ? System_Internal.Int128 :
|
|
40
|
-
T extends nint ? System_Internal.IntPtr :
|
|
41
|
-
T extends byte ? System_Internal.Byte :
|
|
42
|
-
T extends ushort ? System_Internal.UInt16 :
|
|
43
|
-
T extends uint ? System_Internal.UInt32 :
|
|
44
|
-
T extends ulong ? System_Internal.UInt64 :
|
|
45
|
-
T extends uint128 ? System_Internal.UInt128 :
|
|
46
|
-
T extends nuint ? System_Internal.UIntPtr :
|
|
47
|
-
T extends half ? System_Internal.Half :
|
|
48
|
-
T extends float ? System_Internal.Single :
|
|
49
|
-
T extends double ? System_Internal.Double :
|
|
50
|
-
T extends decimal ? System_Internal.Decimal :
|
|
51
|
-
T extends char ? System_Internal.Char :
|
|
52
|
-
T extends boolean ? System_Internal.Boolean :
|
|
53
|
-
T extends string ? System_Internal.String :
|
|
54
|
-
T; // Identity fallback for non-primitive types
|
|
55
|
-
|
|
56
31
|
export enum JsonCommentHandling {
|
|
57
32
|
disallow = 0,
|
|
58
33
|
skip = 1,
|
|
@@ -129,8 +104,8 @@ export interface JsonElement$instance {
|
|
|
129
104
|
getInt32(): int;
|
|
130
105
|
getInt64(): long;
|
|
131
106
|
getProperty(propertyName: string): JsonElement;
|
|
132
|
-
getProperty(propertyName: ReadOnlySpan_1<
|
|
133
|
-
getProperty(utf8PropertyName: ReadOnlySpan_1<
|
|
107
|
+
getProperty(propertyName: ReadOnlySpan_1<System_Internal.Char>): JsonElement;
|
|
108
|
+
getProperty(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>): JsonElement;
|
|
134
109
|
getPropertyCount(): int;
|
|
135
110
|
getRawText(): string;
|
|
136
111
|
getSByte(): sbyte;
|
|
@@ -140,27 +115,27 @@ export interface JsonElement$instance {
|
|
|
140
115
|
getUInt32(): uint;
|
|
141
116
|
getUInt64(): ulong;
|
|
142
117
|
toString(): string;
|
|
143
|
-
tryGetByte(value:
|
|
144
|
-
tryGetBytesFromBase64(value:
|
|
145
|
-
tryGetDateTime(value:
|
|
146
|
-
tryGetDateTimeOffset(value:
|
|
147
|
-
tryGetDecimal(value:
|
|
148
|
-
tryGetDouble(value:
|
|
149
|
-
tryGetGuid(value:
|
|
150
|
-
tryGetInt16(value:
|
|
151
|
-
tryGetInt32(value:
|
|
152
|
-
tryGetInt64(value:
|
|
153
|
-
tryGetProperty(propertyName: string, value:
|
|
154
|
-
tryGetProperty(propertyName: ReadOnlySpan_1<
|
|
155
|
-
tryGetProperty(utf8PropertyName: ReadOnlySpan_1<
|
|
156
|
-
tryGetSByte(value:
|
|
157
|
-
tryGetSingle(value:
|
|
158
|
-
tryGetUInt16(value:
|
|
159
|
-
tryGetUInt32(value:
|
|
160
|
-
tryGetUInt64(value:
|
|
118
|
+
tryGetByte(value: byte): boolean;
|
|
119
|
+
tryGetBytesFromBase64(value: byte[]): boolean;
|
|
120
|
+
tryGetDateTime(value: DateTime): boolean;
|
|
121
|
+
tryGetDateTimeOffset(value: DateTimeOffset): boolean;
|
|
122
|
+
tryGetDecimal(value: decimal): boolean;
|
|
123
|
+
tryGetDouble(value: double): boolean;
|
|
124
|
+
tryGetGuid(value: Guid): boolean;
|
|
125
|
+
tryGetInt16(value: short): boolean;
|
|
126
|
+
tryGetInt32(value: int): boolean;
|
|
127
|
+
tryGetInt64(value: long): boolean;
|
|
128
|
+
tryGetProperty(propertyName: string, value: JsonElement): boolean;
|
|
129
|
+
tryGetProperty(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: JsonElement): boolean;
|
|
130
|
+
tryGetProperty(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: JsonElement): boolean;
|
|
131
|
+
tryGetSByte(value: sbyte): boolean;
|
|
132
|
+
tryGetSingle(value: float): boolean;
|
|
133
|
+
tryGetUInt16(value: ushort): boolean;
|
|
134
|
+
tryGetUInt32(value: uint): boolean;
|
|
135
|
+
tryGetUInt64(value: ulong): boolean;
|
|
161
136
|
valueEquals(text: string): boolean;
|
|
162
|
-
valueEquals(utf8Text: ReadOnlySpan_1<
|
|
163
|
-
valueEquals(text: ReadOnlySpan_1<
|
|
137
|
+
valueEquals(utf8Text: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
138
|
+
valueEquals(text: ReadOnlySpan_1<System_Internal.Char>): boolean;
|
|
164
139
|
writeTo(writer: Utf8JsonWriter): void;
|
|
165
140
|
}
|
|
166
141
|
|
|
@@ -168,11 +143,11 @@ export interface JsonElement$instance {
|
|
|
168
143
|
export const JsonElement: {
|
|
169
144
|
new(): JsonElement$instance;
|
|
170
145
|
deepEquals(element1: JsonElement, element2: JsonElement): boolean;
|
|
171
|
-
parse(utf8Json: ReadOnlySpan_1<
|
|
172
|
-
parse(json: ReadOnlySpan_1<
|
|
146
|
+
parse(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, options?: JsonDocumentOptions): JsonElement;
|
|
147
|
+
parse(json: ReadOnlySpan_1<System_Internal.Char>, options?: JsonDocumentOptions): JsonElement;
|
|
173
148
|
parse(json: string, options?: JsonDocumentOptions): JsonElement;
|
|
174
|
-
parseValue(reader:
|
|
175
|
-
tryParseValue(reader:
|
|
149
|
+
parseValue(reader: Utf8JsonReader): JsonElement;
|
|
150
|
+
tryParseValue(reader: Utf8JsonReader, element: Nullable_1<JsonElement>): boolean;
|
|
176
151
|
};
|
|
177
152
|
|
|
178
153
|
|
|
@@ -227,7 +202,7 @@ export type JsonElement_ObjectEnumerator = JsonElement_ObjectEnumerator$instance
|
|
|
227
202
|
|
|
228
203
|
|
|
229
204
|
export interface JsonEncodedText$instance {
|
|
230
|
-
readonly encodedUtf8Bytes: ReadOnlySpan_1<
|
|
205
|
+
readonly encodedUtf8Bytes: ReadOnlySpan_1<System_Internal.Byte>;
|
|
231
206
|
readonly value: string;
|
|
232
207
|
equals(other: JsonEncodedText): boolean;
|
|
233
208
|
equals(obj: unknown): boolean;
|
|
@@ -238,8 +213,8 @@ export interface JsonEncodedText$instance {
|
|
|
238
213
|
|
|
239
214
|
export const JsonEncodedText: {
|
|
240
215
|
new(): JsonEncodedText$instance;
|
|
241
|
-
encode(utf8Value: ReadOnlySpan_1<
|
|
242
|
-
encode(value: ReadOnlySpan_1<
|
|
216
|
+
encode(utf8Value: ReadOnlySpan_1<System_Internal.Byte>, encoder?: JavaScriptEncoder): JsonEncodedText;
|
|
217
|
+
encode(value: ReadOnlySpan_1<System_Internal.Char>, encoder?: JavaScriptEncoder): JsonEncodedText;
|
|
243
218
|
encode(value: string, encoder?: JavaScriptEncoder): JsonEncodedText;
|
|
244
219
|
};
|
|
245
220
|
|
|
@@ -258,8 +233,8 @@ export interface JsonProperty$instance {
|
|
|
258
233
|
readonly name: string;
|
|
259
234
|
readonly value: JsonElement;
|
|
260
235
|
nameEquals(text: string): boolean;
|
|
261
|
-
nameEquals(utf8Text: ReadOnlySpan_1<
|
|
262
|
-
nameEquals(text: ReadOnlySpan_1<
|
|
236
|
+
nameEquals(utf8Text: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
237
|
+
nameEquals(text: ReadOnlySpan_1<System_Internal.Char>): boolean;
|
|
263
238
|
toString(): string;
|
|
264
239
|
writeTo(writer: Utf8JsonWriter): void;
|
|
265
240
|
}
|
|
@@ -327,10 +302,10 @@ export interface Utf8JsonReader$instance {
|
|
|
327
302
|
readonly tokenStartIndex: long;
|
|
328
303
|
readonly tokenType: JsonTokenType;
|
|
329
304
|
readonly valueIsEscaped: boolean;
|
|
330
|
-
readonly valueSequence: ReadOnlySequence_1<
|
|
331
|
-
readonly valueSpan: ReadOnlySpan_1<
|
|
332
|
-
copyString(utf8Destination: Span_1<
|
|
333
|
-
copyString(destination: Span_1<
|
|
305
|
+
readonly valueSequence: ReadOnlySequence_1<System_Internal.Byte>;
|
|
306
|
+
readonly valueSpan: ReadOnlySpan_1<System_Internal.Byte>;
|
|
307
|
+
copyString(utf8Destination: Span_1<System_Internal.Byte>): int;
|
|
308
|
+
copyString(destination: Span_1<System_Internal.Char>): int;
|
|
334
309
|
getBoolean(): boolean;
|
|
335
310
|
getByte(): byte;
|
|
336
311
|
getBytesFromBase64(): byte[];
|
|
@@ -351,33 +326,33 @@ export interface Utf8JsonReader$instance {
|
|
|
351
326
|
getUInt64(): ulong;
|
|
352
327
|
read(): boolean;
|
|
353
328
|
skip(): void;
|
|
354
|
-
tryGetByte(value:
|
|
355
|
-
tryGetBytesFromBase64(value:
|
|
356
|
-
tryGetDateTime(value:
|
|
357
|
-
tryGetDateTimeOffset(value:
|
|
358
|
-
tryGetDecimal(value:
|
|
359
|
-
tryGetDouble(value:
|
|
360
|
-
tryGetGuid(value:
|
|
361
|
-
tryGetInt16(value:
|
|
362
|
-
tryGetInt32(value:
|
|
363
|
-
tryGetInt64(value:
|
|
364
|
-
tryGetSByte(value:
|
|
365
|
-
tryGetSingle(value:
|
|
366
|
-
tryGetUInt16(value:
|
|
367
|
-
tryGetUInt32(value:
|
|
368
|
-
tryGetUInt64(value:
|
|
329
|
+
tryGetByte(value: byte): boolean;
|
|
330
|
+
tryGetBytesFromBase64(value: byte[]): boolean;
|
|
331
|
+
tryGetDateTime(value: DateTime): boolean;
|
|
332
|
+
tryGetDateTimeOffset(value: DateTimeOffset): boolean;
|
|
333
|
+
tryGetDecimal(value: decimal): boolean;
|
|
334
|
+
tryGetDouble(value: double): boolean;
|
|
335
|
+
tryGetGuid(value: Guid): boolean;
|
|
336
|
+
tryGetInt16(value: short): boolean;
|
|
337
|
+
tryGetInt32(value: int): boolean;
|
|
338
|
+
tryGetInt64(value: long): boolean;
|
|
339
|
+
tryGetSByte(value: sbyte): boolean;
|
|
340
|
+
tryGetSingle(value: float): boolean;
|
|
341
|
+
tryGetUInt16(value: ushort): boolean;
|
|
342
|
+
tryGetUInt32(value: uint): boolean;
|
|
343
|
+
tryGetUInt64(value: ulong): boolean;
|
|
369
344
|
trySkip(): boolean;
|
|
370
|
-
valueTextEquals(utf8Text: ReadOnlySpan_1<
|
|
345
|
+
valueTextEquals(utf8Text: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
371
346
|
valueTextEquals(text: string): boolean;
|
|
372
|
-
valueTextEquals(text: ReadOnlySpan_1<
|
|
347
|
+
valueTextEquals(text: ReadOnlySpan_1<System_Internal.Char>): boolean;
|
|
373
348
|
}
|
|
374
349
|
|
|
375
350
|
|
|
376
351
|
export const Utf8JsonReader: {
|
|
377
|
-
new(jsonData: ReadOnlySpan_1<
|
|
378
|
-
new(jsonData: ReadOnlySpan_1<
|
|
379
|
-
new(jsonData: ReadOnlySequence_1<
|
|
380
|
-
new(jsonData: ReadOnlySequence_1<
|
|
352
|
+
new(jsonData: ReadOnlySpan_1<System_Internal.Byte>, isFinalBlock: boolean, state: JsonReaderState): Utf8JsonReader$instance;
|
|
353
|
+
new(jsonData: ReadOnlySpan_1<System_Internal.Byte>, options: JsonReaderOptions): Utf8JsonReader$instance;
|
|
354
|
+
new(jsonData: ReadOnlySequence_1<System_Internal.Byte>, isFinalBlock: boolean, state: JsonReaderState): Utf8JsonReader$instance;
|
|
355
|
+
new(jsonData: ReadOnlySequence_1<System_Internal.Byte>, options: JsonReaderOptions): Utf8JsonReader$instance;
|
|
381
356
|
};
|
|
382
357
|
|
|
383
358
|
|
|
@@ -392,14 +367,14 @@ export interface JsonDocument$instance {
|
|
|
392
367
|
|
|
393
368
|
export const JsonDocument: {
|
|
394
369
|
new(): JsonDocument$instance;
|
|
395
|
-
parse(utf8Json: ReadOnlySequence_1<
|
|
370
|
+
parse(utf8Json: ReadOnlySequence_1<System_Internal.Byte>, options?: JsonDocumentOptions): JsonDocument;
|
|
396
371
|
parse(utf8Json: Stream, options?: JsonDocumentOptions): JsonDocument;
|
|
397
|
-
parse(utf8Json: ReadOnlyMemory_1<
|
|
398
|
-
parse(json: ReadOnlyMemory_1<
|
|
372
|
+
parse(utf8Json: ReadOnlyMemory_1<System_Internal.Byte>, options?: JsonDocumentOptions): JsonDocument;
|
|
373
|
+
parse(json: ReadOnlyMemory_1<System_Internal.Char>, options?: JsonDocumentOptions): JsonDocument;
|
|
399
374
|
parse(json: string, options?: JsonDocumentOptions): JsonDocument;
|
|
400
375
|
parseAsync(utf8Json: Stream, options?: JsonDocumentOptions, cancellationToken?: CancellationToken): Task_1<JsonDocument>;
|
|
401
|
-
parseValue(reader:
|
|
402
|
-
tryParseValue(reader:
|
|
376
|
+
parseValue(reader: Utf8JsonReader): JsonDocument;
|
|
377
|
+
tryParseValue(reader: Utf8JsonReader, document: JsonDocument): boolean;
|
|
403
378
|
};
|
|
404
379
|
|
|
405
380
|
|
|
@@ -413,8 +388,8 @@ export type JsonDocument = JsonDocument$instance & __JsonDocument$views;
|
|
|
413
388
|
|
|
414
389
|
|
|
415
390
|
export interface JsonException$instance extends Exception {
|
|
416
|
-
readonly bytePositionInLine: Nullable_1<
|
|
417
|
-
readonly lineNumber: Nullable_1<
|
|
391
|
+
readonly bytePositionInLine: Nullable_1<System_Internal.Int64>;
|
|
392
|
+
readonly lineNumber: Nullable_1<System_Internal.Int64>;
|
|
418
393
|
readonly message: string;
|
|
419
394
|
readonly path: string;
|
|
420
395
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
@@ -422,8 +397,8 @@ export interface JsonException$instance extends Exception {
|
|
|
422
397
|
|
|
423
398
|
|
|
424
399
|
export const JsonException: {
|
|
425
|
-
new(message: string, path: string, lineNumber: Nullable_1<
|
|
426
|
-
new(message: string, path: string, lineNumber: Nullable_1<
|
|
400
|
+
new(message: string, path: string, lineNumber: Nullable_1<System_Internal.Int64>, bytePositionInLine: Nullable_1<System_Internal.Int64>, innerException: Exception): JsonException$instance;
|
|
401
|
+
new(message: string, path: string, lineNumber: Nullable_1<System_Internal.Int64>, bytePositionInLine: Nullable_1<System_Internal.Int64>): JsonException$instance;
|
|
427
402
|
new(message: string, innerException: Exception): JsonException$instance;
|
|
428
403
|
new(message: string): JsonException$instance;
|
|
429
404
|
new(): JsonException$instance;
|
|
@@ -489,7 +464,7 @@ export interface JsonSerializerOptions$instance {
|
|
|
489
464
|
getTypeInfo(type_: Type): JsonTypeInfo;
|
|
490
465
|
makeReadOnly(): void;
|
|
491
466
|
makeReadOnly(populateMissingResolver: boolean): void;
|
|
492
|
-
tryGetTypeInfo(type_: Type, typeInfo:
|
|
467
|
+
tryGetTypeInfo(type_: Type, typeInfo: JsonTypeInfo): boolean;
|
|
493
468
|
}
|
|
494
469
|
|
|
495
470
|
|
|
@@ -516,56 +491,56 @@ export interface Utf8JsonWriter$instance {
|
|
|
516
491
|
flushAsync(cancellationToken?: CancellationToken): Task;
|
|
517
492
|
reset(): void;
|
|
518
493
|
reset(utf8Json: Stream): void;
|
|
519
|
-
reset(bufferWriter: IBufferWriter_1<
|
|
520
|
-
writeBase64String(propertyName: JsonEncodedText, bytes: ReadOnlySpan_1<
|
|
521
|
-
writeBase64String(propertyName: string, bytes: ReadOnlySpan_1<
|
|
522
|
-
writeBase64String(propertyName: ReadOnlySpan_1<
|
|
523
|
-
writeBase64String(utf8PropertyName: ReadOnlySpan_1<
|
|
524
|
-
writeBase64StringSegment(value: ReadOnlySpan_1<
|
|
525
|
-
writeBase64StringValue(bytes: ReadOnlySpan_1<
|
|
494
|
+
reset(bufferWriter: IBufferWriter_1<System_Internal.Byte>): void;
|
|
495
|
+
writeBase64String(propertyName: JsonEncodedText, bytes: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
496
|
+
writeBase64String(propertyName: string, bytes: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
497
|
+
writeBase64String(propertyName: ReadOnlySpan_1<System_Internal.Char>, bytes: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
498
|
+
writeBase64String(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, bytes: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
499
|
+
writeBase64StringSegment(value: ReadOnlySpan_1<System_Internal.Byte>, isFinalSegment: boolean): void;
|
|
500
|
+
writeBase64StringValue(bytes: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
526
501
|
writeBoolean(propertyName: JsonEncodedText, value: boolean): void;
|
|
527
502
|
writeBoolean(propertyName: string, value: boolean): void;
|
|
528
|
-
writeBoolean(propertyName: ReadOnlySpan_1<
|
|
529
|
-
writeBoolean(utf8PropertyName: ReadOnlySpan_1<
|
|
503
|
+
writeBoolean(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: boolean): void;
|
|
504
|
+
writeBoolean(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: boolean): void;
|
|
530
505
|
writeBooleanValue(value: boolean): void;
|
|
531
506
|
writeCommentValue(value: string): void;
|
|
532
|
-
writeCommentValue(value: ReadOnlySpan_1<
|
|
533
|
-
writeCommentValue(utf8Value: ReadOnlySpan_1<
|
|
507
|
+
writeCommentValue(value: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
508
|
+
writeCommentValue(utf8Value: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
534
509
|
writeEndArray(): void;
|
|
535
510
|
writeEndObject(): void;
|
|
536
511
|
writeNull(propertyName: JsonEncodedText): void;
|
|
537
512
|
writeNull(propertyName: string): void;
|
|
538
|
-
writeNull(propertyName: ReadOnlySpan_1<
|
|
539
|
-
writeNull(utf8PropertyName: ReadOnlySpan_1<
|
|
513
|
+
writeNull(propertyName: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
514
|
+
writeNull(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
540
515
|
writeNullValue(): void;
|
|
541
516
|
writeNumber(propertyName: JsonEncodedText, value: decimal): void;
|
|
542
517
|
writeNumber(propertyName: string, value: decimal): void;
|
|
543
|
-
writeNumber(propertyName: ReadOnlySpan_1<
|
|
544
|
-
writeNumber(utf8PropertyName: ReadOnlySpan_1<
|
|
518
|
+
writeNumber(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: decimal): void;
|
|
519
|
+
writeNumber(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: decimal): void;
|
|
545
520
|
writeNumber(propertyName: JsonEncodedText, value: double): void;
|
|
546
521
|
writeNumber(propertyName: string, value: double): void;
|
|
547
|
-
writeNumber(propertyName: ReadOnlySpan_1<
|
|
548
|
-
writeNumber(utf8PropertyName: ReadOnlySpan_1<
|
|
522
|
+
writeNumber(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: double): void;
|
|
523
|
+
writeNumber(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: double): void;
|
|
549
524
|
writeNumber(propertyName: JsonEncodedText, value: float): void;
|
|
550
525
|
writeNumber(propertyName: string, value: float): void;
|
|
551
|
-
writeNumber(propertyName: ReadOnlySpan_1<
|
|
552
|
-
writeNumber(utf8PropertyName: ReadOnlySpan_1<
|
|
526
|
+
writeNumber(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: float): void;
|
|
527
|
+
writeNumber(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: float): void;
|
|
553
528
|
writeNumber(propertyName: JsonEncodedText, value: long): void;
|
|
554
529
|
writeNumber(propertyName: string, value: long): void;
|
|
555
|
-
writeNumber(propertyName: ReadOnlySpan_1<
|
|
556
|
-
writeNumber(utf8PropertyName: ReadOnlySpan_1<
|
|
530
|
+
writeNumber(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: long): void;
|
|
531
|
+
writeNumber(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: long): void;
|
|
557
532
|
writeNumber(propertyName: JsonEncodedText, value: int): void;
|
|
558
533
|
writeNumber(propertyName: string, value: int): void;
|
|
559
|
-
writeNumber(propertyName: ReadOnlySpan_1<
|
|
560
|
-
writeNumber(utf8PropertyName: ReadOnlySpan_1<
|
|
534
|
+
writeNumber(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: int): void;
|
|
535
|
+
writeNumber(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: int): void;
|
|
561
536
|
writeNumber(propertyName: JsonEncodedText, value: ulong): void;
|
|
562
537
|
writeNumber(propertyName: string, value: ulong): void;
|
|
563
|
-
writeNumber(propertyName: ReadOnlySpan_1<
|
|
564
|
-
writeNumber(utf8PropertyName: ReadOnlySpan_1<
|
|
538
|
+
writeNumber(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: ulong): void;
|
|
539
|
+
writeNumber(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: ulong): void;
|
|
565
540
|
writeNumber(propertyName: JsonEncodedText, value: uint): void;
|
|
566
541
|
writeNumber(propertyName: string, value: uint): void;
|
|
567
|
-
writeNumber(propertyName: ReadOnlySpan_1<
|
|
568
|
-
writeNumber(utf8PropertyName: ReadOnlySpan_1<
|
|
542
|
+
writeNumber(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: uint): void;
|
|
543
|
+
writeNumber(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: uint): void;
|
|
569
544
|
writeNumberValue(value: decimal): void;
|
|
570
545
|
writeNumberValue(value: double): void;
|
|
571
546
|
writeNumberValue(value: float): void;
|
|
@@ -575,64 +550,64 @@ export interface Utf8JsonWriter$instance {
|
|
|
575
550
|
writeNumberValue(value: ulong): void;
|
|
576
551
|
writePropertyName(propertyName: JsonEncodedText): void;
|
|
577
552
|
writePropertyName(propertyName: string): void;
|
|
578
|
-
writePropertyName(propertyName: ReadOnlySpan_1<
|
|
579
|
-
writePropertyName(utf8PropertyName: ReadOnlySpan_1<
|
|
553
|
+
writePropertyName(propertyName: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
554
|
+
writePropertyName(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
580
555
|
writeRawValue(json: string, skipInputValidation?: boolean): void;
|
|
581
|
-
writeRawValue(json: ReadOnlySpan_1<
|
|
582
|
-
writeRawValue(utf8Json: ReadOnlySpan_1<
|
|
583
|
-
writeRawValue(utf8Json: ReadOnlySequence_1<
|
|
556
|
+
writeRawValue(json: ReadOnlySpan_1<System_Internal.Char>, skipInputValidation?: boolean): void;
|
|
557
|
+
writeRawValue(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, skipInputValidation?: boolean): void;
|
|
558
|
+
writeRawValue(utf8Json: ReadOnlySequence_1<System_Internal.Byte>, skipInputValidation?: boolean): void;
|
|
584
559
|
writeStartArray(): void;
|
|
585
560
|
writeStartArray(propertyName: JsonEncodedText): void;
|
|
586
|
-
writeStartArray(utf8PropertyName: ReadOnlySpan_1<
|
|
561
|
+
writeStartArray(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
587
562
|
writeStartArray(propertyName: string): void;
|
|
588
|
-
writeStartArray(propertyName: ReadOnlySpan_1<
|
|
563
|
+
writeStartArray(propertyName: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
589
564
|
writeStartObject(): void;
|
|
590
565
|
writeStartObject(propertyName: JsonEncodedText): void;
|
|
591
|
-
writeStartObject(utf8PropertyName: ReadOnlySpan_1<
|
|
566
|
+
writeStartObject(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
592
567
|
writeStartObject(propertyName: string): void;
|
|
593
|
-
writeStartObject(propertyName: ReadOnlySpan_1<
|
|
568
|
+
writeStartObject(propertyName: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
594
569
|
writeString(propertyName: JsonEncodedText, value: DateTime): void;
|
|
595
570
|
writeString(propertyName: string, value: DateTime): void;
|
|
596
|
-
writeString(propertyName: ReadOnlySpan_1<
|
|
597
|
-
writeString(utf8PropertyName: ReadOnlySpan_1<
|
|
571
|
+
writeString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: DateTime): void;
|
|
572
|
+
writeString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: DateTime): void;
|
|
598
573
|
writeString(propertyName: JsonEncodedText, value: DateTimeOffset): void;
|
|
599
574
|
writeString(propertyName: string, value: DateTimeOffset): void;
|
|
600
|
-
writeString(propertyName: ReadOnlySpan_1<
|
|
601
|
-
writeString(utf8PropertyName: ReadOnlySpan_1<
|
|
575
|
+
writeString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: DateTimeOffset): void;
|
|
576
|
+
writeString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: DateTimeOffset): void;
|
|
602
577
|
writeString(propertyName: JsonEncodedText, value: Guid): void;
|
|
603
578
|
writeString(propertyName: string, value: Guid): void;
|
|
604
|
-
writeString(propertyName: ReadOnlySpan_1<
|
|
605
|
-
writeString(utf8PropertyName: ReadOnlySpan_1<
|
|
579
|
+
writeString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: Guid): void;
|
|
580
|
+
writeString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: Guid): void;
|
|
606
581
|
writeString(propertyName: JsonEncodedText, value: JsonEncodedText): void;
|
|
607
582
|
writeString(propertyName: string, value: JsonEncodedText): void;
|
|
608
583
|
writeString(propertyName: string, value: string): void;
|
|
609
|
-
writeString(propertyName: ReadOnlySpan_1<
|
|
610
|
-
writeString(utf8PropertyName: ReadOnlySpan_1<
|
|
584
|
+
writeString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
585
|
+
writeString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, utf8Value: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
611
586
|
writeString(propertyName: JsonEncodedText, value: string): void;
|
|
612
|
-
writeString(propertyName: JsonEncodedText, value: ReadOnlySpan_1<
|
|
613
|
-
writeString(propertyName: string, value: ReadOnlySpan_1<
|
|
614
|
-
writeString(utf8PropertyName: ReadOnlySpan_1<
|
|
615
|
-
writeString(propertyName: JsonEncodedText, utf8Value: ReadOnlySpan_1<
|
|
616
|
-
writeString(propertyName: string, utf8Value: ReadOnlySpan_1<
|
|
617
|
-
writeString(propertyName: ReadOnlySpan_1<
|
|
618
|
-
writeString(propertyName: ReadOnlySpan_1<
|
|
619
|
-
writeString(propertyName: ReadOnlySpan_1<
|
|
620
|
-
writeString(utf8PropertyName: ReadOnlySpan_1<
|
|
621
|
-
writeString(utf8PropertyName: ReadOnlySpan_1<
|
|
587
|
+
writeString(propertyName: JsonEncodedText, value: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
588
|
+
writeString(propertyName: string, value: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
589
|
+
writeString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
590
|
+
writeString(propertyName: JsonEncodedText, utf8Value: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
591
|
+
writeString(propertyName: string, utf8Value: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
592
|
+
writeString(propertyName: ReadOnlySpan_1<System_Internal.Char>, utf8Value: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
593
|
+
writeString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: JsonEncodedText): void;
|
|
594
|
+
writeString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: string): void;
|
|
595
|
+
writeString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: JsonEncodedText): void;
|
|
596
|
+
writeString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: string): void;
|
|
622
597
|
writeStringValue(value: DateTime): void;
|
|
623
598
|
writeStringValue(value: DateTimeOffset): void;
|
|
624
599
|
writeStringValue(value: Guid): void;
|
|
625
600
|
writeStringValue(value: JsonEncodedText): void;
|
|
626
601
|
writeStringValue(value: string): void;
|
|
627
|
-
writeStringValue(value: ReadOnlySpan_1<
|
|
628
|
-
writeStringValue(utf8Value: ReadOnlySpan_1<
|
|
629
|
-
writeStringValueSegment(value: ReadOnlySpan_1<
|
|
630
|
-
writeStringValueSegment(value: ReadOnlySpan_1<
|
|
602
|
+
writeStringValue(value: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
603
|
+
writeStringValue(utf8Value: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
604
|
+
writeStringValueSegment(value: ReadOnlySpan_1<System_Internal.Char>, isFinalSegment: boolean): void;
|
|
605
|
+
writeStringValueSegment(value: ReadOnlySpan_1<System_Internal.Byte>, isFinalSegment: boolean): void;
|
|
631
606
|
}
|
|
632
607
|
|
|
633
608
|
|
|
634
609
|
export const Utf8JsonWriter: {
|
|
635
|
-
new(bufferWriter: IBufferWriter_1<
|
|
610
|
+
new(bufferWriter: IBufferWriter_1<System_Internal.Byte>, options: JsonWriterOptions): Utf8JsonWriter$instance;
|
|
636
611
|
new(utf8Json: Stream, options: JsonWriterOptions): Utf8JsonWriter$instance;
|
|
637
612
|
};
|
|
638
613
|
|
|
@@ -654,16 +629,16 @@ export abstract class JsonSerializer$instance {
|
|
|
654
629
|
static deserialize(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo): unknown;
|
|
655
630
|
static deserialize(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions): unknown;
|
|
656
631
|
static deserialize(utf8Json: Stream, returnType: Type, context: JsonSerializerContext): unknown;
|
|
657
|
-
static deserialize<TValue>(utf8Json: ReadOnlySpan_1<
|
|
658
|
-
static deserialize<TValue>(utf8Json: ReadOnlySpan_1<
|
|
659
|
-
static deserialize(utf8Json: ReadOnlySpan_1<
|
|
660
|
-
static deserialize(utf8Json: ReadOnlySpan_1<
|
|
661
|
-
static deserialize(utf8Json: ReadOnlySpan_1<
|
|
662
|
-
static deserialize<TValue>(json: ReadOnlySpan_1<
|
|
663
|
-
static deserialize<TValue>(json: ReadOnlySpan_1<
|
|
664
|
-
static deserialize(json: ReadOnlySpan_1<
|
|
665
|
-
static deserialize(json: ReadOnlySpan_1<
|
|
666
|
-
static deserialize(json: ReadOnlySpan_1<
|
|
632
|
+
static deserialize<TValue>(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
|
|
633
|
+
static deserialize<TValue>(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, options?: JsonSerializerOptions): TValue;
|
|
634
|
+
static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, jsonTypeInfo: JsonTypeInfo): unknown;
|
|
635
|
+
static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, returnType: Type, options?: JsonSerializerOptions): unknown;
|
|
636
|
+
static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, returnType: Type, context: JsonSerializerContext): unknown;
|
|
637
|
+
static deserialize<TValue>(json: ReadOnlySpan_1<System_Internal.Char>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
|
|
638
|
+
static deserialize<TValue>(json: ReadOnlySpan_1<System_Internal.Char>, options?: JsonSerializerOptions): TValue;
|
|
639
|
+
static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, jsonTypeInfo: JsonTypeInfo): unknown;
|
|
640
|
+
static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, returnType: Type, options?: JsonSerializerOptions): unknown;
|
|
641
|
+
static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, returnType: Type, context: JsonSerializerContext): unknown;
|
|
667
642
|
static deserialize<TValue>(json: string, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
|
|
668
643
|
static deserialize<TValue>(json: string, options?: JsonSerializerOptions): TValue;
|
|
669
644
|
static deserialize(json: string, jsonTypeInfo: JsonTypeInfo): unknown;
|
|
@@ -684,11 +659,11 @@ export abstract class JsonSerializer$instance {
|
|
|
684
659
|
static deserialize(node: JsonNode, jsonTypeInfo: JsonTypeInfo): unknown;
|
|
685
660
|
static deserialize(node: JsonNode, returnType: Type, options?: JsonSerializerOptions): unknown;
|
|
686
661
|
static deserialize(node: JsonNode, returnType: Type, context: JsonSerializerContext): unknown;
|
|
687
|
-
static deserialize<TValue>(reader:
|
|
688
|
-
static deserialize<TValue>(reader:
|
|
689
|
-
static deserialize(reader:
|
|
690
|
-
static deserialize(reader:
|
|
691
|
-
static deserialize(reader:
|
|
662
|
+
static deserialize<TValue>(reader: Utf8JsonReader, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
|
|
663
|
+
static deserialize<TValue>(reader: Utf8JsonReader, options?: JsonSerializerOptions): TValue;
|
|
664
|
+
static deserialize(reader: Utf8JsonReader, jsonTypeInfo: JsonTypeInfo): unknown;
|
|
665
|
+
static deserialize(reader: Utf8JsonReader, returnType: Type, options?: JsonSerializerOptions): unknown;
|
|
666
|
+
static deserialize(reader: Utf8JsonReader, returnType: Type, context: JsonSerializerContext): unknown;
|
|
692
667
|
static deserializeAsync<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
693
668
|
static deserializeAsync<TValue>(utf8Json: PipeReader, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
694
669
|
static deserializeAsync(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
|