@tsonic/dotnet 0.8.2 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
  2. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
  3. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +2 -2
  4. package/Microsoft.Win32/internal/index.d.ts +10 -10
  5. package/System/internal/index.d.ts +964 -950
  6. package/System.Buffers/internal/index.d.ts +2 -2
  7. package/System.CodeDom.Compiler/internal/index.d.ts +10 -10
  8. package/System.Collections/internal/index.d.ts +30 -24
  9. package/System.Collections.Concurrent/internal/index.d.ts +10 -10
  10. package/System.Collections.Frozen/bindings.json +20 -20
  11. package/System.Collections.Frozen/internal/index.d.ts +6 -6
  12. package/System.Collections.Frozen/internal/metadata.json +10 -10
  13. package/System.Collections.Generic/bindings.json +20 -44
  14. package/System.Collections.Generic/internal/index.d.ts +54 -54
  15. package/System.Collections.Generic/internal/metadata.json +10 -26
  16. package/System.Collections.Immutable/internal/index.d.ts +88 -88
  17. package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
  18. package/System.Collections.Specialized/internal/index.d.ts +53 -49
  19. package/System.ComponentModel/internal/index.d.ts +388 -376
  20. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +55 -45
  21. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +3 -2
  22. package/System.ComponentModel.Design/internal/index.d.ts +36 -36
  23. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +20 -20
  24. package/System.Data/internal/index.d.ts +171 -163
  25. package/System.Data.Common/internal/index.d.ts +36 -28
  26. package/System.Data.SqlTypes/internal/index.d.ts +23 -23
  27. package/System.Diagnostics/internal/index.d.ts +250 -228
  28. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +37 -23
  29. package/System.Diagnostics.Contracts/internal/index.d.ts +4 -4
  30. package/System.Diagnostics.Metrics/internal/index.d.ts +34 -29
  31. package/System.Diagnostics.SymbolStore/internal/index.d.ts +4 -4
  32. package/System.Diagnostics.Tracing/internal/index.d.ts +26 -24
  33. package/System.Drawing/internal/index.d.ts +76 -76
  34. package/System.Dynamic/internal/index.d.ts +26 -26
  35. package/System.Formats.Asn1/internal/index.d.ts +4 -4
  36. package/System.Formats.Tar/internal/index.d.ts +5 -4
  37. package/System.Globalization/internal/index.d.ts +22 -20
  38. package/System.IO/internal/index.d.ts +106 -103
  39. package/System.IO.Compression/internal/index.d.ts +24 -24
  40. package/System.IO.Enumeration/internal/index.d.ts +7 -5
  41. package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
  42. package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
  43. package/System.IO.Pipelines/internal/index.d.ts +5 -5
  44. package/System.IO.Pipes/internal/index.d.ts +4 -4
  45. package/System.Linq/internal/index.d.ts +207 -207
  46. package/System.Linq.Expressions/internal/index.d.ts +160 -160
  47. package/System.Net/internal/index.d.ts +157 -131
  48. package/System.Net.Cache/internal/index.d.ts +2 -2
  49. package/System.Net.Http/internal/index.d.ts +69 -53
  50. package/System.Net.Http.Headers/internal/index.d.ts +62 -45
  51. package/System.Net.Http.Json/internal/index.d.ts +38 -38
  52. package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
  53. package/System.Net.Mail/internal/index.d.ts +80 -70
  54. package/System.Net.Mime/internal/index.d.ts +4 -2
  55. package/System.Net.NetworkInformation/internal/index.d.ts +23 -23
  56. package/System.Net.Quic/internal/index.d.ts +4 -3
  57. package/System.Net.Security/internal/index.d.ts +65 -49
  58. package/System.Net.ServerSentEvents/internal/index.d.ts +3 -2
  59. package/System.Net.Sockets/internal/index.d.ts +49 -42
  60. package/System.Net.WebSockets/internal/index.d.ts +35 -29
  61. package/System.Numerics/bindings.json +96 -72
  62. package/System.Numerics/internal/index.d.ts +93 -91
  63. package/System.Numerics/internal/metadata.json +64 -48
  64. package/System.Reflection/internal/index.d.ts +129 -126
  65. package/System.Reflection.Emit/internal/index.d.ts +105 -105
  66. package/System.Reflection.Metadata/internal/index.d.ts +15 -15
  67. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +4 -4
  68. package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
  69. package/System.Resources/internal/index.d.ts +20 -19
  70. package/System.Runtime/internal/index.d.ts +6 -5
  71. package/System.Runtime.CompilerServices/internal/index.d.ts +30 -28
  72. package/System.Runtime.InteropServices/internal/index.d.ts +85 -83
  73. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +9 -9
  74. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +20 -20
  75. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +28 -26
  76. package/System.Runtime.Loader/internal/index.d.ts +2 -2
  77. package/System.Runtime.Remoting/internal/index.d.ts +1 -1
  78. package/System.Runtime.Serialization/internal/index.d.ts +66 -54
  79. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -3
  80. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +4 -2
  81. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -4
  82. package/System.Runtime.Serialization.Json/internal/index.d.ts +22 -21
  83. package/System.Runtime.Versioning/internal/index.d.ts +12 -9
  84. package/System.Security/internal/index.d.ts +62 -52
  85. package/System.Security.AccessControl/internal/index.d.ts +29 -25
  86. package/System.Security.Authentication/internal/index.d.ts +4 -4
  87. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +8 -8
  88. package/System.Security.Claims/internal/index.d.ts +21 -15
  89. package/System.Security.Cryptography/internal/index.d.ts +155 -141
  90. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +83 -82
  91. package/System.Security.Permissions/internal/index.d.ts +2 -2
  92. package/System.Security.Principal/internal/index.d.ts +3 -3
  93. package/System.Text/internal/index.d.ts +48 -46
  94. package/System.Text.Json/internal/index.d.ts +87 -81
  95. package/System.Text.Json.Nodes/internal/index.d.ts +41 -41
  96. package/System.Text.Json.Schema/internal/index.d.ts +4 -3
  97. package/System.Text.Json.Serialization/internal/index.d.ts +5 -4
  98. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +55 -30
  99. package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
  100. package/System.Text.Unicode/internal/index.d.ts +4 -4
  101. package/System.Threading/internal/index.d.ts +86 -85
  102. package/System.Threading.Channels/internal/index.d.ts +8 -8
  103. package/System.Threading.Tasks/internal/index.d.ts +82 -82
  104. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +25 -26
  105. package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
  106. package/System.Timers/internal/index.d.ts +5 -3
  107. package/System.Transactions/internal/index.d.ts +18 -16
  108. package/System.Web/internal/index.d.ts +30 -30
  109. package/System.Windows.Input/internal/index.d.ts +2 -2
  110. package/System.Xml/internal/index.d.ts +162 -161
  111. package/System.Xml.Linq/internal/index.d.ts +38 -37
  112. package/System.Xml.Resolvers/internal/index.d.ts +5 -5
  113. package/System.Xml.Schema/internal/index.d.ts +133 -88
  114. package/System.Xml.Serialization/internal/index.d.ts +138 -117
  115. package/System.Xml.XPath/internal/index.d.ts +12 -12
  116. package/System.Xml.Xsl/internal/index.d.ts +34 -34
  117. package/System.Xml.Xsl.Runtime/internal/index.d.ts +16 -16
  118. package/__internal/extensions/index.d.ts +371 -371
  119. package/package.json +1 -1
@@ -110,11 +110,11 @@ export interface JsonElement$instance {
110
110
  getRawText(): string;
111
111
  getSByte(): sbyte;
112
112
  getSingle(): float;
113
- getString(): string;
113
+ getString(): string | undefined;
114
114
  getUInt16(): ushort;
115
115
  getUInt32(): uint;
116
116
  getUInt64(): ulong;
117
- toString(): string | undefined;
117
+ toString(): string;
118
118
  tryGetByte(value: byte): boolean;
119
119
  tryGetBytesFromBase64(value: byte[]): boolean;
120
120
  tryGetDateTime(value: DateTime): boolean;
@@ -207,15 +207,15 @@ export interface JsonEncodedText$instance {
207
207
  equals(other: JsonEncodedText): boolean;
208
208
  equals(obj: unknown): boolean;
209
209
  getHashCode(): int;
210
- toString(): string | undefined;
210
+ toString(): string;
211
211
  }
212
212
 
213
213
 
214
214
  export const JsonEncodedText: {
215
215
  new(): JsonEncodedText;
216
- encode(utf8Value: ReadOnlySpan_1<System_Internal.Byte>, encoder?: JavaScriptEncoder | undefined): JsonEncodedText;
217
- encode(value: ReadOnlySpan_1<System_Internal.Char>, encoder?: JavaScriptEncoder | undefined): JsonEncodedText;
218
- encode(value: string, encoder?: JavaScriptEncoder | undefined): JsonEncodedText;
216
+ encode(utf8Value: ReadOnlySpan_1<System_Internal.Byte>, encoder?: JavaScriptEncoder): JsonEncodedText;
217
+ encode(value: ReadOnlySpan_1<System_Internal.Char>, encoder?: JavaScriptEncoder): JsonEncodedText;
218
+ encode(value: string, encoder?: JavaScriptEncoder): JsonEncodedText;
219
219
  };
220
220
 
221
221
 
@@ -275,7 +275,8 @@ export const JsonReaderState: {
275
275
  export type JsonReaderState = JsonReaderState$instance;
276
276
 
277
277
  export interface JsonWriterOptions$instance {
278
- encoder: JavaScriptEncoder | undefined;
278
+ get encoder(): JavaScriptEncoder | undefined;
279
+ set encoder(value: JavaScriptEncoder);
279
280
  indentCharacter: char;
280
281
  indented: boolean;
281
282
  indentSize: int;
@@ -320,7 +321,7 @@ export interface Utf8JsonReader$instance {
320
321
  getInt64(): long;
321
322
  getSByte(): sbyte;
322
323
  getSingle(): float;
323
- getString(): string;
324
+ getString(): string | undefined;
324
325
  getUInt16(): ushort;
325
326
  getUInt32(): uint;
326
327
  getUInt64(): ulong;
@@ -392,15 +393,15 @@ export interface JsonException$instance extends Exception {
392
393
  readonly lineNumber: Nullable_1<System_Internal.Int64>;
393
394
  readonly message: string;
394
395
  readonly path: string;
395
- getObjectData(info: SerializationInfo | undefined, context: StreamingContext): void;
396
+ getObjectData(info: SerializationInfo, context: StreamingContext): void;
396
397
  }
397
398
 
398
399
 
399
400
  export const JsonException: {
400
- new(message: string | undefined, path: string | undefined, lineNumber: Nullable_1<System_Internal.Int64>, bytePositionInLine: Nullable_1<System_Internal.Int64>, innerException: Exception | undefined): JsonException;
401
- new(message: string | undefined, path: string | undefined, lineNumber: Nullable_1<System_Internal.Int64>, bytePositionInLine: Nullable_1<System_Internal.Int64>): JsonException;
402
- new(message: string | undefined, innerException: Exception | undefined): JsonException;
403
- new(message: string | undefined): JsonException;
401
+ new(message: string, path: string, lineNumber: Nullable_1<System_Internal.Int64>, bytePositionInLine: Nullable_1<System_Internal.Int64>, innerException: Exception): JsonException;
402
+ new(message: string, path: string, lineNumber: Nullable_1<System_Internal.Int64>, bytePositionInLine: Nullable_1<System_Internal.Int64>): JsonException;
403
+ new(message: string, innerException: Exception): JsonException;
404
+ new(message: string): JsonException;
404
405
  new(): JsonException;
405
406
  };
406
407
 
@@ -435,8 +436,10 @@ export interface JsonSerializerOptions$instance {
435
436
  readonly converters: IList_1<JsonConverter>;
436
437
  defaultBufferSize: int;
437
438
  defaultIgnoreCondition: JsonIgnoreCondition;
438
- dictionaryKeyPolicy: JsonNamingPolicy | undefined;
439
- encoder: JavaScriptEncoder | undefined;
439
+ get dictionaryKeyPolicy(): JsonNamingPolicy | undefined;
440
+ set dictionaryKeyPolicy(value: JsonNamingPolicy);
441
+ get encoder(): JavaScriptEncoder | undefined;
442
+ set encoder(value: JavaScriptEncoder);
440
443
  ignoreNullValues: boolean;
441
444
  ignoreReadOnlyFields: boolean;
442
445
  ignoreReadOnlyProperties: boolean;
@@ -449,12 +452,15 @@ export interface JsonSerializerOptions$instance {
449
452
  numberHandling: JsonNumberHandling;
450
453
  preferredObjectCreationHandling: JsonObjectCreationHandling;
451
454
  propertyNameCaseInsensitive: boolean;
452
- propertyNamingPolicy: JsonNamingPolicy | undefined;
455
+ get propertyNamingPolicy(): JsonNamingPolicy | undefined;
456
+ set propertyNamingPolicy(value: JsonNamingPolicy);
453
457
  readCommentHandling: JsonCommentHandling;
454
- referenceHandler: ReferenceHandler | undefined;
458
+ get referenceHandler(): ReferenceHandler | undefined;
459
+ set referenceHandler(value: ReferenceHandler);
455
460
  respectNullableAnnotations: boolean;
456
461
  respectRequiredConstructorParameters: boolean;
457
- typeInfoResolver: IJsonTypeInfoResolver | undefined;
462
+ get typeInfoResolver(): IJsonTypeInfoResolver | undefined;
463
+ set typeInfoResolver(value: IJsonTypeInfoResolver);
458
464
  readonly typeInfoResolverChain: IList_1<IJsonTypeInfoResolver>;
459
465
  unknownTypeHandling: JsonUnknownTypeHandling;
460
466
  unmappedMemberHandling: JsonUnmappedMemberHandling;
@@ -464,7 +470,7 @@ export interface JsonSerializerOptions$instance {
464
470
  getTypeInfo(type_: Type): JsonTypeInfo;
465
471
  makeReadOnly(): void;
466
472
  makeReadOnly(populateMissingResolver: boolean): void;
467
- tryGetTypeInfo(type_: Type, typeInfo: JsonTypeInfo | undefined): boolean;
473
+ tryGetTypeInfo(type_: Type, typeInfo: JsonTypeInfo): boolean;
468
474
  }
469
475
 
470
476
 
@@ -580,7 +586,7 @@ export interface Utf8JsonWriter$instance {
580
586
  writeString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: Guid): void;
581
587
  writeString(propertyName: JsonEncodedText, value: JsonEncodedText): void;
582
588
  writeString(propertyName: string, value: JsonEncodedText): void;
583
- writeString(propertyName: string, value: string | undefined): void;
589
+ writeString(propertyName: string, value: string): void;
584
590
  writeString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: ReadOnlySpan_1<System_Internal.Char>): void;
585
591
  writeString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, utf8Value: ReadOnlySpan_1<System_Internal.Byte>): void;
586
592
  writeString(propertyName: JsonEncodedText, value: string): void;
@@ -591,9 +597,9 @@ export interface Utf8JsonWriter$instance {
591
597
  writeString(propertyName: string, utf8Value: ReadOnlySpan_1<System_Internal.Byte>): void;
592
598
  writeString(propertyName: ReadOnlySpan_1<System_Internal.Char>, utf8Value: ReadOnlySpan_1<System_Internal.Byte>): void;
593
599
  writeString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: JsonEncodedText): void;
594
- writeString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: string | undefined): void;
600
+ writeString(propertyName: ReadOnlySpan_1<System_Internal.Char>, value: string): void;
595
601
  writeString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: JsonEncodedText): void;
596
- writeString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: string | undefined): void;
602
+ writeString(utf8PropertyName: ReadOnlySpan_1<System_Internal.Byte>, value: string): void;
597
603
  writeStringValue(value: DateTime): void;
598
604
  writeStringValue(value: DateTimeOffset): void;
599
605
  writeStringValue(value: Guid): void;
@@ -625,54 +631,54 @@ export type Utf8JsonWriter = Utf8JsonWriter$instance & __Utf8JsonWriter$views;
625
631
  export abstract class JsonSerializer$instance {
626
632
  static readonly isReflectionEnabledByDefault: boolean;
627
633
  static deserialize<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
628
- static deserialize<TValue>(utf8Json: Stream, options?: JsonSerializerOptions): TValue;
634
+ static deserialize<TValue>(utf8Json: Stream, options?: JsonSerializerOptions): TValue | undefined;
629
635
  static deserialize(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
630
- static deserialize(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions | undefined): unknown | undefined;
636
+ static deserialize(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions): unknown | undefined;
631
637
  static deserialize(utf8Json: Stream, returnType: Type, context: JsonSerializerContext): unknown | undefined;
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;
638
+ static deserialize<TValue>(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
639
+ static deserialize<TValue>(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, options?: JsonSerializerOptions): TValue | undefined;
634
640
  static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
635
- static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, returnType: Type, options?: JsonSerializerOptions): unknown;
641
+ static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, returnType: Type, options?: JsonSerializerOptions): unknown | undefined;
636
642
  static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, returnType: Type, context: JsonSerializerContext): unknown | undefined;
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;
643
+ static deserialize<TValue>(json: ReadOnlySpan_1<System_Internal.Char>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
644
+ static deserialize<TValue>(json: ReadOnlySpan_1<System_Internal.Char>, options?: JsonSerializerOptions): TValue | undefined;
639
645
  static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
640
- static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, returnType: Type, options?: JsonSerializerOptions): unknown;
646
+ static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, returnType: Type, options?: JsonSerializerOptions): unknown | undefined;
641
647
  static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, returnType: Type, context: JsonSerializerContext): unknown | undefined;
642
648
  static deserialize<TValue>(json: string, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
643
- static deserialize<TValue>(json: string, options?: JsonSerializerOptions): TValue;
649
+ static deserialize<TValue>(json: string, options?: JsonSerializerOptions): TValue | undefined;
644
650
  static deserialize(json: string, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
645
- static deserialize(json: string, returnType: Type, options?: JsonSerializerOptions | undefined): unknown | undefined;
651
+ static deserialize(json: string, returnType: Type, options?: JsonSerializerOptions): unknown | undefined;
646
652
  static deserialize(json: string, returnType: Type, context: JsonSerializerContext): unknown | undefined;
647
653
  static deserialize<TValue>(document: JsonDocument, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
648
- static deserialize<TValue>(document: JsonDocument, options?: JsonSerializerOptions): TValue;
654
+ static deserialize<TValue>(document: JsonDocument, options?: JsonSerializerOptions): TValue | undefined;
649
655
  static deserialize(document: JsonDocument, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
650
- static deserialize(document: JsonDocument, returnType: Type, options?: JsonSerializerOptions | undefined): unknown | undefined;
656
+ static deserialize(document: JsonDocument, returnType: Type, options?: JsonSerializerOptions): unknown | undefined;
651
657
  static deserialize(document: JsonDocument, returnType: Type, context: JsonSerializerContext): unknown | undefined;
652
- static deserialize<TValue>(element: JsonElement, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
653
- static deserialize<TValue>(element: JsonElement, options?: JsonSerializerOptions): TValue;
658
+ static deserialize<TValue>(element: JsonElement, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
659
+ static deserialize<TValue>(element: JsonElement, options?: JsonSerializerOptions): TValue | undefined;
654
660
  static deserialize(element: JsonElement, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
655
- static deserialize(element: JsonElement, returnType: Type, options?: JsonSerializerOptions): unknown;
661
+ static deserialize(element: JsonElement, returnType: Type, options?: JsonSerializerOptions): unknown | undefined;
656
662
  static deserialize(element: JsonElement, returnType: Type, context: JsonSerializerContext): unknown | undefined;
657
- static deserialize<TValue>(node: JsonNode, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
658
- static deserialize<TValue>(node: JsonNode, options?: JsonSerializerOptions): TValue;
659
- static deserialize(node: JsonNode, jsonTypeInfo: JsonTypeInfo): unknown;
660
- static deserialize(node: JsonNode, returnType: Type, options?: JsonSerializerOptions): unknown;
661
- static deserialize(node: JsonNode | undefined, returnType: Type, context: JsonSerializerContext): unknown | undefined;
662
- static deserialize<TValue>(reader: Utf8JsonReader, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
663
- static deserialize<TValue>(reader: Utf8JsonReader, options?: JsonSerializerOptions): TValue;
663
+ static deserialize<TValue>(node: JsonNode, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
664
+ static deserialize<TValue>(node: JsonNode, options?: JsonSerializerOptions): TValue | undefined;
665
+ static deserialize(node: JsonNode, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
666
+ static deserialize(node: JsonNode, returnType: Type, options?: JsonSerializerOptions): unknown | undefined;
667
+ static deserialize(node: JsonNode, returnType: Type, context: JsonSerializerContext): unknown | undefined;
668
+ static deserialize<TValue>(reader: Utf8JsonReader, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
669
+ static deserialize<TValue>(reader: Utf8JsonReader, options?: JsonSerializerOptions): TValue | undefined;
664
670
  static deserialize(reader: Utf8JsonReader, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
665
- static deserialize(reader: Utf8JsonReader, returnType: Type, options?: JsonSerializerOptions): unknown;
671
+ static deserialize(reader: Utf8JsonReader, returnType: Type, options?: JsonSerializerOptions): unknown | undefined;
666
672
  static deserialize(reader: Utf8JsonReader, returnType: Type, context: JsonSerializerContext): unknown | undefined;
667
673
  static deserializeAsync<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
668
674
  static deserializeAsync<TValue>(utf8Json: PipeReader, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
669
675
  static deserializeAsync(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
670
- static deserializeAsync(utf8Json: PipeReader, returnType: Type, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
676
+ static deserializeAsync(utf8Json: PipeReader, returnType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
671
677
  static deserializeAsync(utf8Json: PipeReader, returnType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
672
678
  static deserializeAsync<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
673
679
  static deserializeAsync<TValue>(utf8Json: Stream, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
674
680
  static deserializeAsync(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
675
- static deserializeAsync(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
681
+ static deserializeAsync(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
676
682
  static deserializeAsync(utf8Json: Stream, returnType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
677
683
  static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, topLevelValues: boolean, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
678
684
  static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
@@ -682,51 +688,51 @@ export abstract class JsonSerializer$instance {
682
688
  static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
683
689
  static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, topLevelValues: boolean, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
684
690
  static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
685
- static serialize(utf8Json: Stream, value: unknown | undefined, jsonTypeInfo: JsonTypeInfo): void;
686
- static serialize(utf8Json: Stream, value: unknown | undefined, inputType: Type, options?: JsonSerializerOptions | undefined): void;
687
- static serialize(utf8Json: Stream, value: unknown | undefined, inputType: Type, context: JsonSerializerContext): void;
691
+ static serialize(utf8Json: Stream, value: unknown, jsonTypeInfo: JsonTypeInfo): void;
692
+ static serialize(utf8Json: Stream, value: unknown, inputType: Type, options?: JsonSerializerOptions): void;
693
+ static serialize(utf8Json: Stream, value: unknown, inputType: Type, context: JsonSerializerContext): void;
688
694
  static serialize<TValue>(utf8Json: Stream, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): void;
689
- static serialize<TValue>(utf8Json: Stream, value: TValue, options?: JsonSerializerOptions | undefined): void;
690
- static serialize(value: unknown | undefined, jsonTypeInfo: JsonTypeInfo): string;
691
- static serialize(value: unknown | undefined, inputType: Type, options?: JsonSerializerOptions | undefined): string;
692
- static serialize(value: unknown | undefined, inputType: Type, context: JsonSerializerContext): string;
693
- static serialize(writer: Utf8JsonWriter, value: unknown | undefined, jsonTypeInfo: JsonTypeInfo): void;
694
- static serialize(writer: Utf8JsonWriter, value: unknown | undefined, inputType: Type, options?: JsonSerializerOptions | undefined): void;
695
- static serialize(writer: Utf8JsonWriter, value: unknown | undefined, inputType: Type, context: JsonSerializerContext): void;
695
+ static serialize<TValue>(utf8Json: Stream, value: TValue, options?: JsonSerializerOptions): void;
696
+ static serialize(value: unknown, jsonTypeInfo: JsonTypeInfo): string;
697
+ static serialize(value: unknown, inputType: Type, options?: JsonSerializerOptions): string;
698
+ static serialize(value: unknown, inputType: Type, context: JsonSerializerContext): string;
699
+ static serialize(writer: Utf8JsonWriter, value: unknown, jsonTypeInfo: JsonTypeInfo): void;
700
+ static serialize(writer: Utf8JsonWriter, value: unknown, inputType: Type, options?: JsonSerializerOptions): void;
701
+ static serialize(writer: Utf8JsonWriter, value: unknown, inputType: Type, context: JsonSerializerContext): void;
696
702
  static serialize<TValue>(writer: Utf8JsonWriter, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): void;
697
- static serialize<TValue>(writer: Utf8JsonWriter, value: TValue, options?: JsonSerializerOptions | undefined): void;
703
+ static serialize<TValue>(writer: Utf8JsonWriter, value: TValue, options?: JsonSerializerOptions): void;
698
704
  static serialize<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): string;
699
- static serialize<TValue>(value: TValue, options?: JsonSerializerOptions | undefined): string;
700
- static serializeAsync(utf8Json: PipeWriter, value: unknown | undefined, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): Task;
701
- static serializeAsync(utf8Json: PipeWriter, value: unknown | undefined, inputType: Type, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task;
702
- static serializeAsync(utf8Json: PipeWriter, value: unknown | undefined, inputType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task;
705
+ static serialize<TValue>(value: TValue, options?: JsonSerializerOptions): string;
706
+ static serializeAsync(utf8Json: PipeWriter, value: unknown, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): Task;
707
+ static serializeAsync(utf8Json: PipeWriter, value: unknown, inputType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
708
+ static serializeAsync(utf8Json: PipeWriter, value: unknown, inputType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task;
703
709
  static serializeAsync<TValue>(utf8Json: PipeWriter, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task;
704
- static serializeAsync<TValue>(utf8Json: PipeWriter, value: TValue, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task;
705
- static serializeAsync(utf8Json: Stream, value: unknown | undefined, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): Task;
706
- static serializeAsync(utf8Json: Stream, value: unknown | undefined, inputType: Type, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task;
707
- static serializeAsync(utf8Json: Stream, value: unknown | undefined, inputType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task;
710
+ static serializeAsync<TValue>(utf8Json: PipeWriter, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
711
+ static serializeAsync(utf8Json: Stream, value: unknown, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): Task;
712
+ static serializeAsync(utf8Json: Stream, value: unknown, inputType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
713
+ static serializeAsync(utf8Json: Stream, value: unknown, inputType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task;
708
714
  static serializeAsync<TValue>(utf8Json: Stream, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task;
709
- static serializeAsync<TValue>(utf8Json: Stream, value: TValue, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task;
710
- static serializeToDocument(value: unknown | undefined, jsonTypeInfo: JsonTypeInfo): JsonDocument;
711
- static serializeToDocument(value: unknown | undefined, inputType: Type, options?: JsonSerializerOptions | undefined): JsonDocument;
712
- static serializeToDocument(value: unknown | undefined, inputType: Type, context: JsonSerializerContext): JsonDocument;
715
+ static serializeAsync<TValue>(utf8Json: Stream, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
716
+ static serializeToDocument(value: unknown, jsonTypeInfo: JsonTypeInfo): JsonDocument;
717
+ static serializeToDocument(value: unknown, inputType: Type, options?: JsonSerializerOptions): JsonDocument;
718
+ static serializeToDocument(value: unknown, inputType: Type, context: JsonSerializerContext): JsonDocument;
713
719
  static serializeToDocument<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonDocument;
714
- static serializeToDocument<TValue>(value: TValue, options?: JsonSerializerOptions | undefined): JsonDocument;
715
- static serializeToElement(value: unknown | undefined, jsonTypeInfo: JsonTypeInfo): JsonElement;
720
+ static serializeToDocument<TValue>(value: TValue, options?: JsonSerializerOptions): JsonDocument;
721
+ static serializeToElement(value: unknown, jsonTypeInfo: JsonTypeInfo): JsonElement;
716
722
  static serializeToElement(value: unknown, inputType: Type, options?: JsonSerializerOptions): JsonElement;
717
- static serializeToElement(value: unknown | undefined, inputType: Type, context: JsonSerializerContext): JsonElement;
723
+ static serializeToElement(value: unknown, inputType: Type, context: JsonSerializerContext): JsonElement;
718
724
  static serializeToElement<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonElement;
719
725
  static serializeToElement<TValue>(value: TValue, options?: JsonSerializerOptions): JsonElement;
720
- static serializeToNode(value: unknown, jsonTypeInfo: JsonTypeInfo): JsonNode;
721
- static serializeToNode(value: unknown, inputType: Type, options?: JsonSerializerOptions): JsonNode;
722
- static serializeToNode(value: unknown | undefined, inputType: Type, context: JsonSerializerContext): JsonNode | undefined;
726
+ static serializeToNode(value: unknown, jsonTypeInfo: JsonTypeInfo): JsonNode | undefined;
727
+ static serializeToNode(value: unknown, inputType: Type, options?: JsonSerializerOptions): JsonNode | undefined;
728
+ static serializeToNode(value: unknown, inputType: Type, context: JsonSerializerContext): JsonNode | undefined;
723
729
  static serializeToNode<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonNode | undefined;
724
- static serializeToNode<TValue>(value: TValue, options?: JsonSerializerOptions): JsonNode;
725
- static serializeToUtf8Bytes(value: unknown | undefined, jsonTypeInfo: JsonTypeInfo): byte[];
726
- static serializeToUtf8Bytes(value: unknown | undefined, inputType: Type, options?: JsonSerializerOptions | undefined): byte[];
727
- static serializeToUtf8Bytes(value: unknown | undefined, inputType: Type, context: JsonSerializerContext): byte[];
730
+ static serializeToNode<TValue>(value: TValue, options?: JsonSerializerOptions): JsonNode | undefined;
731
+ static serializeToUtf8Bytes(value: unknown, jsonTypeInfo: JsonTypeInfo): byte[];
732
+ static serializeToUtf8Bytes(value: unknown, inputType: Type, options?: JsonSerializerOptions): byte[];
733
+ static serializeToUtf8Bytes(value: unknown, inputType: Type, context: JsonSerializerContext): byte[];
728
734
  static serializeToUtf8Bytes<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): byte[];
729
- static serializeToUtf8Bytes<TValue>(value: TValue, options?: JsonSerializerOptions | undefined): byte[];
735
+ static serializeToUtf8Bytes<TValue>(value: TValue, options?: JsonSerializerOptions): byte[];
730
736
  }
731
737
 
732
738
 
@@ -35,19 +35,19 @@ export type JsonNodeOptions = JsonNodeOptions$instance;
35
35
 
36
36
  export interface JsonArray$instance extends JsonNode {
37
37
  readonly count: int;
38
- add<T>(value: T | undefined): void;
39
- add(item: JsonNode | undefined): void;
38
+ add<T>(value: T): void;
39
+ add(item: JsonNode): void;
40
40
  clear(): void;
41
- contains(item: JsonNode | undefined): boolean;
41
+ contains(item: JsonNode): boolean;
42
42
  getEnumerator(): IEnumerator_1<JsonNode | undefined>;
43
- getValues<T>(): IEnumerable_1<T | undefined> | undefined;
44
- indexOf(item: JsonNode | undefined): int;
45
- insert(index: int, item: JsonNode | undefined): void;
46
- remove(item: JsonNode | undefined): boolean;
47
- removeAll(match: Func_2<JsonNode | undefined, System_Internal.Boolean>): int;
43
+ getValues<T>(): IEnumerable_1<T>;
44
+ indexOf(item: JsonNode): int;
45
+ insert(index: int, item: JsonNode): void;
46
+ remove(item: JsonNode): boolean;
47
+ removeAll(match: Func_2<JsonNode, System_Internal.Boolean>): int;
48
48
  removeAt(index: int): void;
49
49
  removeRange(index: int, count: int): void;
50
- writeTo(writer: Utf8JsonWriter | undefined, options?: JsonSerializerOptions | undefined): void;
50
+ writeTo(writer: Utf8JsonWriter, options?: JsonSerializerOptions): void;
51
51
  }
52
52
 
53
53
 
@@ -89,9 +89,9 @@ export interface JsonNode$instance {
89
89
  replaceWith<T>(value: T): void;
90
90
  set_Item(index: int, value: JsonNode | undefined): void;
91
91
  set_Item(propertyName: string, value: JsonNode | undefined): void;
92
- toJsonString(options?: JsonSerializerOptions | undefined): string;
92
+ toJsonString(options?: JsonSerializerOptions): string;
93
93
  toString(): string;
94
- writeTo(writer: Utf8JsonWriter, options?: JsonSerializerOptions | undefined): void;
94
+ writeTo(writer: Utf8JsonWriter, options?: JsonSerializerOptions): void;
95
95
  }
96
96
 
97
97
 
@@ -100,7 +100,7 @@ export const JsonNode: {
100
100
  parse(utf8Json: Stream, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode | undefined;
101
101
  parse(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode | undefined;
102
102
  parse(json: string, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode | undefined;
103
- parse(reader: Utf8JsonReader, nodeOptions?: Nullable_1<JsonNodeOptions>): JsonNode;
103
+ parse(reader: Utf8JsonReader, nodeOptions?: Nullable_1<JsonNodeOptions>): JsonNode | undefined;
104
104
  parseAsync(utf8Json: Stream, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions, cancellationToken?: CancellationToken): Task_1<JsonNode | undefined>;
105
105
  };
106
106
 
@@ -109,30 +109,30 @@ export type JsonNode = JsonNode$instance;
109
109
 
110
110
  export interface JsonObject$instance extends JsonNode {
111
111
  readonly count: int;
112
- add(propertyName: string, value: JsonNode | undefined): void;
112
+ add(propertyName: string, value: JsonNode): void;
113
113
  add(property: KeyValuePair_2<System_Internal.String, JsonNode>): void;
114
114
  clear(): void;
115
115
  containsKey(propertyName: string): boolean;
116
116
  getAt(index: int): KeyValuePair_2<System_Internal.String, JsonNode>;
117
117
  getEnumerator(): IEnumerator_1<KeyValuePair_2<System_Internal.String, JsonNode>>;
118
118
  indexOf(propertyName: string): int;
119
- insert(index: int, propertyName: string, value: JsonNode | undefined): void;
119
+ insert(index: int, propertyName: string, value: JsonNode): void;
120
120
  remove(propertyName: string): boolean;
121
121
  removeAt(index: int): void;
122
- setAt(index: int, propertyName: string, value: JsonNode | undefined): void;
122
+ setAt(index: int, propertyName: string, value: JsonNode): void;
123
123
  setAt(index: int, value: JsonNode): void;
124
- tryAdd(propertyName: string, value: JsonNode | undefined): boolean;
125
- tryAdd(propertyName: string, value: JsonNode | undefined, index: int): boolean;
126
- tryGetPropertyValue(propertyName: string, jsonNode: JsonNode | undefined): boolean;
127
- tryGetPropertyValue(propertyName: string, jsonNode: JsonNode | undefined, index: int): boolean;
128
- writeTo(writer: Utf8JsonWriter, options?: JsonSerializerOptions | undefined): void;
124
+ tryAdd(propertyName: string, value: JsonNode): boolean;
125
+ tryAdd(propertyName: string, value: JsonNode, index: int): boolean;
126
+ tryGetPropertyValue(propertyName: string, jsonNode: JsonNode): boolean;
127
+ tryGetPropertyValue(propertyName: string, jsonNode: JsonNode, index: int): boolean;
128
+ writeTo(writer: Utf8JsonWriter, options?: JsonSerializerOptions): void;
129
129
  }
130
130
 
131
131
 
132
132
  export const JsonObject: {
133
133
  new(options: Nullable_1<JsonNodeOptions>): JsonObject;
134
134
  new(properties: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsonNode>>, options: Nullable_1<JsonNodeOptions>): JsonObject;
135
- create(element: JsonElement, options?: Nullable_1<JsonNodeOptions>): JsonObject;
135
+ create(element: JsonElement, options?: Nullable_1<JsonNodeOptions>): JsonObject | undefined;
136
136
  };
137
137
 
138
138
 
@@ -148,22 +148,22 @@ export type JsonObject = JsonObject$instance & __JsonObject$views;
148
148
 
149
149
 
150
150
  export interface JsonValue$instance extends JsonNode {
151
- tryGetValue<T>(value: T | undefined): boolean;
151
+ tryGetValue<T>(value: T): boolean;
152
152
  }
153
153
 
154
154
 
155
155
  export const JsonValue: {
156
- create(value: boolean, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
157
- create(value: byte, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
158
- create(value: char, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
159
- create(value: DateTime, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
160
- create(value: DateTimeOffset, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
161
- create(value: decimal, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
162
- create(value: double, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
163
- create(value: Guid, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
164
- create(value: short, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
165
- create(value: int, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
166
- create(value: long, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
156
+ create(value: boolean, options?: Nullable_1<JsonNodeOptions>): JsonValue;
157
+ create(value: byte, options?: Nullable_1<JsonNodeOptions>): JsonValue;
158
+ create(value: char, options?: Nullable_1<JsonNodeOptions>): JsonValue;
159
+ create(value: DateTime, options?: Nullable_1<JsonNodeOptions>): JsonValue;
160
+ create(value: DateTimeOffset, options?: Nullable_1<JsonNodeOptions>): JsonValue;
161
+ create(value: decimal, options?: Nullable_1<JsonNodeOptions>): JsonValue;
162
+ create(value: double, options?: Nullable_1<JsonNodeOptions>): JsonValue;
163
+ create(value: Guid, options?: Nullable_1<JsonNodeOptions>): JsonValue;
164
+ create(value: short, options?: Nullable_1<JsonNodeOptions>): JsonValue;
165
+ create(value: int, options?: Nullable_1<JsonNodeOptions>): JsonValue;
166
+ create(value: long, options?: Nullable_1<JsonNodeOptions>): JsonValue;
167
167
  create(value: Nullable_1<System_Internal.Boolean>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
168
168
  create(value: Nullable_1<System_Internal.Byte>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
169
169
  create(value: Nullable_1<System_Internal.Char>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
@@ -181,15 +181,15 @@ export const JsonValue: {
181
181
  create(value: Nullable_1<System_Internal.UInt16>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
182
182
  create(value: Nullable_1<System_Internal.UInt32>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
183
183
  create(value: Nullable_1<System_Internal.UInt64>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
184
- create(value: sbyte, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
185
- create(value: float, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
186
- create(value: string | undefined, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
184
+ create(value: sbyte, options?: Nullable_1<JsonNodeOptions>): JsonValue;
185
+ create(value: float, options?: Nullable_1<JsonNodeOptions>): JsonValue;
186
+ create(value: string, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
187
187
  create(value: JsonElement, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
188
- create(value: ushort, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
189
- create(value: uint, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
190
- create(value: ulong, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
191
- create<T>(value: T | undefined, jsonTypeInfo: JsonTypeInfo_1<T>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
192
- create<T>(value: T | undefined, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
188
+ create(value: ushort, options?: Nullable_1<JsonNodeOptions>): JsonValue;
189
+ create(value: uint, options?: Nullable_1<JsonNodeOptions>): JsonValue;
190
+ create(value: ulong, options?: Nullable_1<JsonNodeOptions>): JsonValue;
191
+ create<T>(value: T, jsonTypeInfo: JsonTypeInfo_1<T>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
192
+ create<T>(value: T, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
193
193
  };
194
194
 
195
195
 
@@ -28,7 +28,8 @@ export const JsonSchemaExporterContext: {
28
28
  export type JsonSchemaExporterContext = JsonSchemaExporterContext$instance;
29
29
 
30
30
  export interface JsonSchemaExporterOptions$instance {
31
- transformSchemaNode: Func_3<JsonSchemaExporterContext, JsonNode, JsonNode> | undefined;
31
+ get transformSchemaNode(): Func_3<JsonSchemaExporterContext, JsonNode, JsonNode> | undefined;
32
+ set transformSchemaNode(value: Func_3<JsonSchemaExporterContext, JsonNode, JsonNode>);
32
33
  treatNullObliviousAsNonNullable: boolean;
33
34
  }
34
35
 
@@ -42,8 +43,8 @@ export const JsonSchemaExporterOptions: {
42
43
  export type JsonSchemaExporterOptions = JsonSchemaExporterOptions$instance;
43
44
 
44
45
  export abstract class JsonSchemaExporter$instance {
45
- static getJsonSchemaAsNode(options: JsonSerializerOptions, type_: Type, exporterOptions?: JsonSchemaExporterOptions | undefined): JsonNode;
46
- static getJsonSchemaAsNode(typeInfo: JsonTypeInfo, exporterOptions?: JsonSchemaExporterOptions | undefined): JsonNode;
46
+ static getJsonSchemaAsNode(options: JsonSerializerOptions, type_: Type, exporterOptions?: JsonSchemaExporterOptions): JsonNode;
47
+ static getJsonSchemaAsNode(typeInfo: JsonTypeInfo, exporterOptions?: JsonSchemaExporterOptions): JsonNode;
47
48
  }
48
49
 
49
50
 
@@ -133,7 +133,7 @@ export type JsonConstructorAttribute = JsonConstructorAttribute$instance;
133
133
 
134
134
  export interface JsonConverter$instance {
135
135
  readonly type_: Type;
136
- canConvert(typeToConvert: Type | undefined): boolean;
136
+ canConvert(typeToConvert: Type): boolean;
137
137
  }
138
138
 
139
139
 
@@ -175,7 +175,7 @@ export type JsonConverterAttribute = JsonConverterAttribute$instance;
175
175
 
176
176
  export interface JsonConverterFactory$instance extends JsonConverter {
177
177
  readonly type_: Type;
178
- createConverter(typeToConvert: Type | undefined, options: JsonSerializerOptions | undefined): JsonConverter | undefined;
178
+ createConverter(typeToConvert: Type, options: JsonSerializerOptions): JsonConverter | undefined;
179
179
  }
180
180
 
181
181
 
@@ -322,12 +322,13 @@ export type JsonRequiredAttribute = JsonRequiredAttribute$instance;
322
322
 
323
323
  export interface JsonSerializableAttribute$instance extends JsonAttribute {
324
324
  generationMode: JsonSourceGenerationMode;
325
- typeInfoPropertyName: string | undefined;
325
+ get typeInfoPropertyName(): string | undefined;
326
+ set typeInfoPropertyName(value: string);
326
327
  }
327
328
 
328
329
 
329
330
  export const JsonSerializableAttribute: {
330
- new(type_: Type | undefined): JsonSerializableAttribute;
331
+ new(type_: Type): JsonSerializableAttribute;
331
332
  };
332
333
 
333
334