@tsonic/dotnet-types
Version:
TypeScript declarations and metadata for .NET 10.0 assemblies
661 lines (632 loc) • 80.5 kB
TypeScript
// Auto-generated by generatedts on 2025-11-02T09:57:36Z - do not edit by hand.
type int = number & { __brand: "int" };
type uint = number & { __brand: "uint" };
type byte = number & { __brand: "byte" };
type sbyte = number & { __brand: "sbyte" };
type short = number & { __brand: "short" };
type ushort = number & { __brand: "ushort" };
type long = number & { __brand: "long" };
type ulong = number & { __brand: "ulong" };
type float = number & { __brand: "float" };
type double = number & { __brand: "double" };
type decimal = number & { __brand: "decimal" };
declare namespace System.Runtime.InteropServices {
class JsonMarshal {
static GetRawUtf8Value(element: System.Text.Json.JsonElement): System.ReadOnlySpan<byte>;
static GetRawUtf8PropertyName(property: System.Text.Json.JsonProperty): System.ReadOnlySpan<byte>;
}
}
declare namespace System.Text.Json {
class ArrayEnumerator implements ReadonlyArray<System.Text.Json.JsonElement>, System.Collections.IEnumerable, System.Collections.Generic.IEnumerator<System.Text.Json.JsonElement>, System.IDisposable, System.Collections.IEnumerator {
readonly Current: System.Text.Json.JsonElement;
GetEnumerator(): System.Text.Json.JsonElement.ArrayEnumerator;
Dispose(): void;
Reset(): void;
MoveNext(): boolean;
}
enum JsonCommentHandling {
Disallow = 0,
Skip = 1,
Allow = 2
}
class JsonDocument implements System.IDisposable {
readonly RootElement: System.Text.Json.JsonElement;
Dispose(): void;
WriteTo(writer: System.Text.Json.Utf8JsonWriter): void;
static Parse(utf8Json: System.ReadOnlyMemory<byte>, options?: System.Text.Json.JsonDocumentOptions): System.Text.Json.JsonDocument;
static Parse(utf8Json: System.Buffers.ReadOnlySequence<byte>, options?: System.Text.Json.JsonDocumentOptions): System.Text.Json.JsonDocument;
static Parse(utf8Json: System.IO.Stream, options?: System.Text.Json.JsonDocumentOptions): System.Text.Json.JsonDocument;
static ParseAsync(utf8Json: System.IO.Stream, options?: System.Text.Json.JsonDocumentOptions, cancellationToken?: System.Threading.CancellationToken): Promise<System.Text.Json.JsonDocument>;
static Parse(json: System.ReadOnlyMemory<number>, options?: System.Text.Json.JsonDocumentOptions): System.Text.Json.JsonDocument;
static Parse(json: string, options?: System.Text.Json.JsonDocumentOptions): System.Text.Json.JsonDocument;
static TryParseValue(reader: System.Text.Json.Utf8JsonReader, document: System.Text.Json.JsonDocument): boolean;
static ParseValue(reader: System.Text.Json.Utf8JsonReader): System.Text.Json.JsonDocument;
}
class JsonDocumentOptions {
CommentHandling: System.Text.Json.JsonCommentHandling;
MaxDepth: int;
AllowTrailingCommas: boolean;
AllowDuplicateProperties: boolean;
}
class JsonElement {
readonly ValueKind: System.Text.Json.JsonValueKind;
readonly Item: System.Text.Json.JsonElement;
GetArrayLength(): int;
GetPropertyCount(): int;
GetProperty(propertyName: string): System.Text.Json.JsonElement;
GetProperty(propertyName: System.ReadOnlySpan<number>): System.Text.Json.JsonElement;
GetProperty(utf8PropertyName: System.ReadOnlySpan<byte>): System.Text.Json.JsonElement;
TryGetProperty(propertyName: string, value: System.Text.Json.JsonElement): boolean;
TryGetProperty(propertyName: System.ReadOnlySpan<number>, value: System.Text.Json.JsonElement): boolean;
TryGetProperty(utf8PropertyName: System.ReadOnlySpan<byte>, value: System.Text.Json.JsonElement): boolean;
GetBoolean(): boolean;
GetString(): string;
TryGetBytesFromBase64(value: ReadonlyArray<byte>): boolean;
GetBytesFromBase64(): ReadonlyArray<byte>;
TryGetSByte(value: sbyte): boolean;
GetSByte(): sbyte;
TryGetByte(value: byte): boolean;
GetByte(): byte;
TryGetInt16(value: short): boolean;
GetInt16(): short;
TryGetUInt16(value: ushort): boolean;
GetUInt16(): ushort;
TryGetInt32(value: int): boolean;
GetInt32(): int;
TryGetUInt32(value: uint): boolean;
GetUInt32(): uint;
TryGetInt64(value: long): boolean;
GetInt64(): long;
TryGetUInt64(value: ulong): boolean;
GetUInt64(): ulong;
TryGetDouble(value: double): boolean;
GetDouble(): double;
TryGetSingle(value: float): boolean;
GetSingle(): float;
TryGetDecimal(value: decimal): boolean;
GetDecimal(): decimal;
TryGetDateTime(value: System.DateTime): boolean;
GetDateTime(): System.DateTime;
TryGetDateTimeOffset(value: System.DateTimeOffset): boolean;
GetDateTimeOffset(): System.DateTimeOffset;
TryGetGuid(value: System.Guid): boolean;
GetGuid(): System.Guid;
GetRawText(): string;
static DeepEquals(element1: System.Text.Json.JsonElement, element2: System.Text.Json.JsonElement): boolean;
ValueEquals(text: string): boolean;
ValueEquals(utf8Text: System.ReadOnlySpan<byte>): boolean;
ValueEquals(text: System.ReadOnlySpan<number>): boolean;
WriteTo(writer: System.Text.Json.Utf8JsonWriter): void;
EnumerateArray(): System.Text.Json.JsonElement.ArrayEnumerator;
EnumerateObject(): System.Text.Json.JsonElement.ObjectEnumerator;
Clone(): System.Text.Json.JsonElement;
static ParseValue(reader: System.Text.Json.Utf8JsonReader): System.Text.Json.JsonElement;
static Parse(utf8Json: System.ReadOnlySpan<byte>, options?: System.Text.Json.JsonDocumentOptions): System.Text.Json.JsonElement;
static Parse(json: System.ReadOnlySpan<number>, options?: System.Text.Json.JsonDocumentOptions): System.Text.Json.JsonElement;
static Parse(json: string, options?: System.Text.Json.JsonDocumentOptions): System.Text.Json.JsonElement;
static TryParseValue(reader: System.Text.Json.Utf8JsonReader, element: System.Text.Json.JsonElement | null): boolean;
}
class JsonEncodedText implements System.IEquatable<System.Text.Json.JsonEncodedText> {
readonly EncodedUtf8Bytes: System.ReadOnlySpan<byte>;
readonly Value: string;
static Encode(value: string, encoder?: System.Text.Encodings.Web.JavaScriptEncoder): System.Text.Json.JsonEncodedText;
static Encode(value: System.ReadOnlySpan<number>, encoder?: System.Text.Encodings.Web.JavaScriptEncoder): System.Text.Json.JsonEncodedText;
static Encode(utf8Value: System.ReadOnlySpan<byte>, encoder?: System.Text.Encodings.Web.JavaScriptEncoder): System.Text.Json.JsonEncodedText;
}
class JsonException extends System.Exception implements System.Runtime.Serialization.ISerializable {
constructor(message: string, path: string, lineNumber: long | null, bytePositionInLine: long | null, innerException: System.Exception);
constructor(message: string, path: string, lineNumber: long | null, bytePositionInLine: long | null);
constructor(message: string, innerException: System.Exception);
constructor(message: string);
constructor();
LineNumber: long | null;
BytePositionInLine: long | null;
Path: string;
readonly Message: string;
GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
}
class JsonNamingPolicy {
static readonly CamelCase: System.Text.Json.JsonNamingPolicy;
static readonly SnakeCaseLower: System.Text.Json.JsonNamingPolicy;
static readonly SnakeCaseUpper: System.Text.Json.JsonNamingPolicy;
static readonly KebabCaseLower: System.Text.Json.JsonNamingPolicy;
static readonly KebabCaseUpper: System.Text.Json.JsonNamingPolicy;
ConvertName(name: string): string;
}
class JsonProperty {
readonly Value: System.Text.Json.JsonElement;
readonly Name: string;
NameEquals(text: string): boolean;
NameEquals(utf8Text: System.ReadOnlySpan<byte>): boolean;
NameEquals(text: System.ReadOnlySpan<number>): boolean;
WriteTo(writer: System.Text.Json.Utf8JsonWriter): void;
}
class JsonReaderOptions {
CommentHandling: System.Text.Json.JsonCommentHandling;
MaxDepth: int;
AllowTrailingCommas: boolean;
AllowMultipleValues: boolean;
}
class JsonReaderState {
constructor(options?: System.Text.Json.JsonReaderOptions);
readonly Options: System.Text.Json.JsonReaderOptions;
}
class JsonSerializer {
static readonly IsReflectionEnabledByDefault: boolean;
static Deserialize<TValue>(document: System.Text.Json.JsonDocument, options?: System.Text.Json.JsonSerializerOptions): TValue;
static Deserialize(document: System.Text.Json.JsonDocument, returnType: System.Type, options?: System.Text.Json.JsonSerializerOptions): any;
static Deserialize<TValue>(document: System.Text.Json.JsonDocument, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>): TValue;
static Deserialize(document: System.Text.Json.JsonDocument, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo): any;
static Deserialize(document: System.Text.Json.JsonDocument, returnType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext): any;
static Deserialize<TValue>(element: System.Text.Json.JsonElement, options?: System.Text.Json.JsonSerializerOptions): TValue;
static Deserialize(element: System.Text.Json.JsonElement, returnType: System.Type, options?: System.Text.Json.JsonSerializerOptions): any;
static Deserialize<TValue>(element: System.Text.Json.JsonElement, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>): TValue;
static Deserialize(element: System.Text.Json.JsonElement, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo): any;
static Deserialize(element: System.Text.Json.JsonElement, returnType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext): any;
static Deserialize<TValue>(node: System.Text.Json.Nodes.JsonNode, options?: System.Text.Json.JsonSerializerOptions): TValue;
static Deserialize(node: System.Text.Json.Nodes.JsonNode, returnType: System.Type, options?: System.Text.Json.JsonSerializerOptions): any;
static Deserialize<TValue>(node: System.Text.Json.Nodes.JsonNode, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>): TValue;
static Deserialize(node: System.Text.Json.Nodes.JsonNode, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo): any;
static Deserialize(node: System.Text.Json.Nodes.JsonNode, returnType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext): any;
static DeserializeAsync<TValue>(utf8Json: System.IO.Pipelines.PipeReader, options?: System.Text.Json.JsonSerializerOptions, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.ValueTask<TValue>;
static DeserializeAsync<TValue>(utf8Json: System.IO.Pipelines.PipeReader, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.ValueTask<TValue>;
static DeserializeAsync(utf8Json: System.IO.Pipelines.PipeReader, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.ValueTask<any>;
static DeserializeAsync(utf8Json: System.IO.Pipelines.PipeReader, returnType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.ValueTask<any>;
static DeserializeAsync(utf8Json: System.IO.Pipelines.PipeReader, returnType: System.Type, options?: System.Text.Json.JsonSerializerOptions, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.ValueTask<any>;
static DeserializeAsyncEnumerable<TValue>(utf8Json: System.IO.Pipelines.PipeReader, options?: System.Text.Json.JsonSerializerOptions, cancellationToken?: System.Threading.CancellationToken): System.Collections.Generic.IAsyncEnumerable<TValue>;
static DeserializeAsyncEnumerable<TValue>(utf8Json: System.IO.Pipelines.PipeReader, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>, cancellationToken?: System.Threading.CancellationToken): System.Collections.Generic.IAsyncEnumerable<TValue>;
static DeserializeAsyncEnumerable<TValue>(utf8Json: System.IO.Pipelines.PipeReader, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>, topLevelValues: boolean, cancellationToken?: System.Threading.CancellationToken): System.Collections.Generic.IAsyncEnumerable<TValue>;
static DeserializeAsyncEnumerable<TValue>(utf8Json: System.IO.Pipelines.PipeReader, topLevelValues: boolean, options?: System.Text.Json.JsonSerializerOptions, cancellationToken?: System.Threading.CancellationToken): System.Collections.Generic.IAsyncEnumerable<TValue>;
static SerializeToDocument<TValue>(value: TValue, options?: System.Text.Json.JsonSerializerOptions): System.Text.Json.JsonDocument;
static SerializeToDocument(value: any, inputType: System.Type, options?: System.Text.Json.JsonSerializerOptions): System.Text.Json.JsonDocument;
static SerializeToDocument<TValue>(value: TValue, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>): System.Text.Json.JsonDocument;
static SerializeToDocument(value: any, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo): System.Text.Json.JsonDocument;
static SerializeToDocument(value: any, inputType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext): System.Text.Json.JsonDocument;
static SerializeToElement<TValue>(value: TValue, options?: System.Text.Json.JsonSerializerOptions): System.Text.Json.JsonElement;
static SerializeToElement(value: any, inputType: System.Type, options?: System.Text.Json.JsonSerializerOptions): System.Text.Json.JsonElement;
static SerializeToElement<TValue>(value: TValue, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>): System.Text.Json.JsonElement;
static SerializeToElement(value: any, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo): System.Text.Json.JsonElement;
static SerializeToElement(value: any, inputType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext): System.Text.Json.JsonElement;
static SerializeToNode<TValue>(value: TValue, options?: System.Text.Json.JsonSerializerOptions): System.Text.Json.Nodes.JsonNode;
static SerializeToNode(value: any, inputType: System.Type, options?: System.Text.Json.JsonSerializerOptions): System.Text.Json.Nodes.JsonNode;
static SerializeToNode<TValue>(value: TValue, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>): System.Text.Json.Nodes.JsonNode;
static SerializeToNode(value: any, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo): System.Text.Json.Nodes.JsonNode;
static SerializeToNode(value: any, inputType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext): System.Text.Json.Nodes.JsonNode;
static Deserialize<TValue>(utf8Json: System.ReadOnlySpan<byte>, options?: System.Text.Json.JsonSerializerOptions): TValue;
static Deserialize(utf8Json: System.ReadOnlySpan<byte>, returnType: System.Type, options?: System.Text.Json.JsonSerializerOptions): any;
static Deserialize<TValue>(utf8Json: System.ReadOnlySpan<byte>, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>): TValue;
static Deserialize(utf8Json: System.ReadOnlySpan<byte>, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo): any;
static Deserialize(utf8Json: System.ReadOnlySpan<byte>, returnType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext): any;
static DeserializeAsync<TValue>(utf8Json: System.IO.Stream, options?: System.Text.Json.JsonSerializerOptions, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.ValueTask<TValue>;
static Deserialize<TValue>(utf8Json: System.IO.Stream, options?: System.Text.Json.JsonSerializerOptions): TValue;
static DeserializeAsync(utf8Json: System.IO.Stream, returnType: System.Type, options?: System.Text.Json.JsonSerializerOptions, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.ValueTask<any>;
static Deserialize(utf8Json: System.IO.Stream, returnType: System.Type, options?: System.Text.Json.JsonSerializerOptions): any;
static DeserializeAsync<TValue>(utf8Json: System.IO.Stream, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.ValueTask<TValue>;
static DeserializeAsync(utf8Json: System.IO.Stream, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.ValueTask<any>;
static Deserialize<TValue>(utf8Json: System.IO.Stream, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>): TValue;
static Deserialize(utf8Json: System.IO.Stream, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo): any;
static DeserializeAsync(utf8Json: System.IO.Stream, returnType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.ValueTask<any>;
static Deserialize(utf8Json: System.IO.Stream, returnType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext): any;
static DeserializeAsyncEnumerable<TValue>(utf8Json: System.IO.Stream, options?: System.Text.Json.JsonSerializerOptions, cancellationToken?: System.Threading.CancellationToken): System.Collections.Generic.IAsyncEnumerable<TValue>;
static DeserializeAsyncEnumerable<TValue>(utf8Json: System.IO.Stream, topLevelValues: boolean, options?: System.Text.Json.JsonSerializerOptions, cancellationToken?: System.Threading.CancellationToken): System.Collections.Generic.IAsyncEnumerable<TValue>;
static DeserializeAsyncEnumerable<TValue>(utf8Json: System.IO.Stream, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>, cancellationToken?: System.Threading.CancellationToken): System.Collections.Generic.IAsyncEnumerable<TValue>;
static DeserializeAsyncEnumerable<TValue>(utf8Json: System.IO.Stream, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>, topLevelValues: boolean, cancellationToken?: System.Threading.CancellationToken): System.Collections.Generic.IAsyncEnumerable<TValue>;
static Deserialize<TValue>(json: string, options?: System.Text.Json.JsonSerializerOptions): TValue;
static Deserialize<TValue>(json: System.ReadOnlySpan<number>, options?: System.Text.Json.JsonSerializerOptions): TValue;
static Deserialize(json: string, returnType: System.Type, options?: System.Text.Json.JsonSerializerOptions): any;
static Deserialize(json: System.ReadOnlySpan<number>, returnType: System.Type, options?: System.Text.Json.JsonSerializerOptions): any;
static Deserialize<TValue>(json: string, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>): TValue;
static Deserialize<TValue>(json: System.ReadOnlySpan<number>, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>): TValue;
static Deserialize(json: string, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo): any;
static Deserialize(json: System.ReadOnlySpan<number>, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo): any;
static Deserialize(json: string, returnType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext): any;
static Deserialize(json: System.ReadOnlySpan<number>, returnType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext): any;
static Deserialize<TValue>(reader: System.Text.Json.Utf8JsonReader, options?: System.Text.Json.JsonSerializerOptions): TValue;
static Deserialize(reader: System.Text.Json.Utf8JsonReader, returnType: System.Type, options?: System.Text.Json.JsonSerializerOptions): any;
static Deserialize<TValue>(reader: System.Text.Json.Utf8JsonReader, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>): TValue;
static Deserialize(reader: System.Text.Json.Utf8JsonReader, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo): any;
static Deserialize(reader: System.Text.Json.Utf8JsonReader, returnType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext): any;
static SerializeToUtf8Bytes<TValue>(value: TValue, options?: System.Text.Json.JsonSerializerOptions): ReadonlyArray<byte>;
static SerializeToUtf8Bytes(value: any, inputType: System.Type, options?: System.Text.Json.JsonSerializerOptions): ReadonlyArray<byte>;
static SerializeToUtf8Bytes<TValue>(value: TValue, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>): ReadonlyArray<byte>;
static SerializeToUtf8Bytes(value: any, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo): ReadonlyArray<byte>;
static SerializeToUtf8Bytes(value: any, inputType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext): ReadonlyArray<byte>;
static SerializeAsync<TValue>(utf8Json: System.IO.Stream, value: TValue, options?: System.Text.Json.JsonSerializerOptions, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.Task;
static Serialize<TValue>(utf8Json: System.IO.Stream, value: TValue, options?: System.Text.Json.JsonSerializerOptions): void;
static SerializeAsync(utf8Json: System.IO.Stream, value: any, inputType: System.Type, options?: System.Text.Json.JsonSerializerOptions, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.Task;
static Serialize(utf8Json: System.IO.Stream, value: any, inputType: System.Type, options?: System.Text.Json.JsonSerializerOptions): void;
static SerializeAsync<TValue>(utf8Json: System.IO.Stream, value: TValue, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.Task;
static Serialize<TValue>(utf8Json: System.IO.Stream, value: TValue, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>): void;
static SerializeAsync(utf8Json: System.IO.Stream, value: any, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.Task;
static Serialize(utf8Json: System.IO.Stream, value: any, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo): void;
static SerializeAsync(utf8Json: System.IO.Stream, value: any, inputType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.Task;
static Serialize(utf8Json: System.IO.Stream, value: any, inputType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext): void;
static Serialize<TValue>(value: TValue, options?: System.Text.Json.JsonSerializerOptions): string;
static Serialize(value: any, inputType: System.Type, options?: System.Text.Json.JsonSerializerOptions): string;
static Serialize<TValue>(value: TValue, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>): string;
static Serialize(value: any, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo): string;
static Serialize(value: any, inputType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext): string;
static SerializeAsync<TValue>(utf8Json: System.IO.Pipelines.PipeWriter, value: TValue, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.Task;
static SerializeAsync<TValue>(utf8Json: System.IO.Pipelines.PipeWriter, value: TValue, options?: System.Text.Json.JsonSerializerOptions, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.Task;
static SerializeAsync(utf8Json: System.IO.Pipelines.PipeWriter, value: any, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.Task;
static SerializeAsync(utf8Json: System.IO.Pipelines.PipeWriter, value: any, inputType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.Task;
static SerializeAsync(utf8Json: System.IO.Pipelines.PipeWriter, value: any, inputType: System.Type, options?: System.Text.Json.JsonSerializerOptions, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.Task;
static Serialize<TValue>(writer: System.Text.Json.Utf8JsonWriter, value: TValue, options?: System.Text.Json.JsonSerializerOptions): void;
static Serialize(writer: System.Text.Json.Utf8JsonWriter, value: any, inputType: System.Type, options?: System.Text.Json.JsonSerializerOptions): void;
static Serialize<TValue>(writer: System.Text.Json.Utf8JsonWriter, value: TValue, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue>): void;
static Serialize(writer: System.Text.Json.Utf8JsonWriter, value: any, jsonTypeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo): void;
static Serialize(writer: System.Text.Json.Utf8JsonWriter, value: any, inputType: System.Type, context: System.Text.Json.Serialization.JsonSerializerContext): void;
}
enum JsonSerializerDefaults {
General = 0,
Web = 1,
Strict = 2
}
class JsonSerializerOptions {
constructor();
constructor(options: System.Text.Json.JsonSerializerOptions);
constructor(defaults: System.Text.Json.JsonSerializerDefaults);
readonly Converters: System.Collections.Generic.IList<System.Text.Json.Serialization.JsonConverter>;
static readonly Default: System.Text.Json.JsonSerializerOptions;
static readonly Web: System.Text.Json.JsonSerializerOptions;
static readonly Strict: System.Text.Json.JsonSerializerOptions;
TypeInfoResolver: System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver;
readonly TypeInfoResolverChain: System.Collections.Generic.IList<System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver>;
AllowOutOfOrderMetadataProperties: boolean;
AllowTrailingCommas: boolean;
DefaultBufferSize: int;
Encoder: System.Text.Encodings.Web.JavaScriptEncoder;
DictionaryKeyPolicy: System.Text.Json.JsonNamingPolicy;
IgnoreNullValues: boolean;
DefaultIgnoreCondition: System.Text.Json.Serialization.JsonIgnoreCondition;
NumberHandling: System.Text.Json.Serialization.JsonNumberHandling;
PreferredObjectCreationHandling: System.Text.Json.Serialization.JsonObjectCreationHandling;
IgnoreReadOnlyProperties: boolean;
IgnoreReadOnlyFields: boolean;
IncludeFields: boolean;
MaxDepth: int;
PropertyNamingPolicy: System.Text.Json.JsonNamingPolicy;
PropertyNameCaseInsensitive: boolean;
ReadCommentHandling: System.Text.Json.JsonCommentHandling;
UnknownTypeHandling: System.Text.Json.Serialization.JsonUnknownTypeHandling;
UnmappedMemberHandling: System.Text.Json.Serialization.JsonUnmappedMemberHandling;
WriteIndented: boolean;
IndentCharacter: number;
IndentSize: int;
ReferenceHandler: System.Text.Json.Serialization.ReferenceHandler;
NewLine: string;
RespectNullableAnnotations: boolean;
RespectRequiredConstructorParameters: boolean;
AllowDuplicateProperties: boolean;
readonly IsReadOnly: boolean;
GetTypeInfo(type: System.Type): System.Text.Json.Serialization.Metadata.JsonTypeInfo;
TryGetTypeInfo(type: System.Type, typeInfo: System.Text.Json.Serialization.Metadata.JsonTypeInfo): boolean;
GetConverter(typeToConvert: System.Type): System.Text.Json.Serialization.JsonConverter;
AddContext<TContext>(): void;
MakeReadOnly(): void;
MakeReadOnly(populateMissingResolver: boolean): void;
}
enum JsonTokenType {
None = 0,
StartObject = 1,
EndObject = 2,
StartArray = 3,
EndArray = 4,
PropertyName = 5,
Comment = 6,
String = 7,
Number = 8,
True = 9,
False = 10,
Null = 11
}
enum JsonValueKind {
Undefined = 0,
Object = 1,
Array = 2,
String = 3,
Number = 4,
True = 5,
False = 6,
Null = 7
}
class JsonWriterOptions {
Encoder: System.Text.Encodings.Web.JavaScriptEncoder;
Indented: boolean;
IndentCharacter: number;
IndentSize: int;
MaxDepth: int;
SkipValidation: boolean;
NewLine: string;
}
class ObjectEnumerator implements ReadonlyArray<System.Text.Json.JsonProperty>, System.Collections.IEnumerable, System.Collections.Generic.IEnumerator<System.Text.Json.JsonProperty>, System.IDisposable, System.Collections.IEnumerator {
readonly Current: System.Text.Json.JsonProperty;
GetEnumerator(): System.Text.Json.JsonElement.ObjectEnumerator;
Dispose(): void;
Reset(): void;
MoveNext(): boolean;
}
class Utf8JsonReader {
constructor(jsonData: System.ReadOnlySpan<byte>, isFinalBlock: boolean, state: System.Text.Json.JsonReaderState);
constructor(jsonData: System.ReadOnlySpan<byte>, options?: System.Text.Json.JsonReaderOptions);
constructor(jsonData: System.Buffers.ReadOnlySequence<byte>, isFinalBlock: boolean, state: System.Text.Json.JsonReaderState);
constructor(jsonData: System.Buffers.ReadOnlySequence<byte>, options?: System.Text.Json.JsonReaderOptions);
ValueSpan: System.ReadOnlySpan<byte>;
readonly BytesConsumed: long;
TokenStartIndex: long;
readonly CurrentDepth: int;
readonly TokenType: System.Text.Json.JsonTokenType;
HasValueSequence: boolean;
ValueIsEscaped: boolean;
readonly IsFinalBlock: boolean;
ValueSequence: System.Buffers.ReadOnlySequence<byte>;
readonly Position: System.SequencePosition;
readonly CurrentState: System.Text.Json.JsonReaderState;
Read(): boolean;
Skip(): void;
TrySkip(): boolean;
ValueTextEquals(utf8Text: System.ReadOnlySpan<byte>): boolean;
ValueTextEquals(text: string): boolean;
ValueTextEquals(text: System.ReadOnlySpan<number>): boolean;
GetString(): string;
CopyString(utf8Destination: System.Span<byte>): int;
CopyString(destination: System.Span<number>): int;
GetComment(): string;
GetBoolean(): boolean;
GetBytesFromBase64(): ReadonlyArray<byte>;
GetByte(): byte;
GetSByte(): sbyte;
GetInt16(): short;
GetInt32(): int;
GetInt64(): long;
GetUInt16(): ushort;
GetUInt32(): uint;
GetUInt64(): ulong;
GetSingle(): float;
GetDouble(): double;
GetDecimal(): decimal;
GetDateTime(): System.DateTime;
GetDateTimeOffset(): System.DateTimeOffset;
GetGuid(): System.Guid;
TryGetBytesFromBase64(value: ReadonlyArray<byte>): boolean;
TryGetByte(value: byte): boolean;
TryGetSByte(value: sbyte): boolean;
TryGetInt16(value: short): boolean;
TryGetInt32(value: int): boolean;
TryGetInt64(value: long): boolean;
TryGetUInt16(value: ushort): boolean;
TryGetUInt32(value: uint): boolean;
TryGetUInt64(value: ulong): boolean;
TryGetSingle(value: float): boolean;
TryGetDouble(value: double): boolean;
TryGetDecimal(value: decimal): boolean;
TryGetDateTime(value: System.DateTime): boolean;
TryGetDateTimeOffset(value: System.DateTimeOffset): boolean;
TryGetGuid(value: System.Guid): boolean;
}
class Utf8JsonWriter implements System.IDisposable, System.IAsyncDisposable {
constructor(bufferWriter: System.Buffers.IBufferWriter<byte>, options?: System.Text.Json.JsonWriterOptions);
constructor(utf8Json: System.IO.Stream, options?: System.Text.Json.JsonWriterOptions);
BytesPending: int;
BytesCommitted: long;
readonly Options: System.Text.Json.JsonWriterOptions;
readonly CurrentDepth: int;
WriteStringValueSegment(value: System.ReadOnlySpan<number>, isFinalSegment: boolean): void;
WriteStringValueSegment(value: System.ReadOnlySpan<byte>, isFinalSegment: boolean): void;
WriteBase64StringSegment(value: System.ReadOnlySpan<byte>, isFinalSegment: boolean): void;
Reset(): void;
Reset(utf8Json: System.IO.Stream): void;
Reset(bufferWriter: System.Buffers.IBufferWriter<byte>): void;
Flush(): void;
Dispose(): void;
DisposeAsync(): System.Threading.Tasks.ValueTask;
FlushAsync(cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.Task;
WriteStartArray(): void;
WriteStartObject(): void;
WriteStartArray(propertyName: System.Text.Json.JsonEncodedText): void;
WriteStartObject(propertyName: System.Text.Json.JsonEncodedText): void;
WriteStartArray(utf8PropertyName: System.ReadOnlySpan<byte>): void;
WriteStartObject(utf8PropertyName: System.ReadOnlySpan<byte>): void;
WriteStartArray(propertyName: string): void;
WriteStartObject(propertyName: string): void;
WriteStartArray(propertyName: System.ReadOnlySpan<number>): void;
WriteStartObject(propertyName: System.ReadOnlySpan<number>): void;
WriteEndArray(): void;
WriteEndObject(): void;
WriteBase64String(propertyName: System.Text.Json.JsonEncodedText, bytes: System.ReadOnlySpan<byte>): void;
WriteBase64String(propertyName: string, bytes: System.ReadOnlySpan<byte>): void;
WriteBase64String(propertyName: System.ReadOnlySpan<number>, bytes: System.ReadOnlySpan<byte>): void;
WriteBase64String(utf8PropertyName: System.ReadOnlySpan<byte>, bytes: System.ReadOnlySpan<byte>): void;
WriteString(propertyName: System.Text.Json.JsonEncodedText, value: System.DateTime): void;
WriteString(propertyName: string, value: System.DateTime): void;
WriteString(propertyName: System.ReadOnlySpan<number>, value: System.DateTime): void;
WriteString(utf8PropertyName: System.ReadOnlySpan<byte>, value: System.DateTime): void;
WriteString(propertyName: System.Text.Json.JsonEncodedText, value: System.DateTimeOffset): void;
WriteString(propertyName: string, value: System.DateTimeOffset): void;
WriteString(propertyName: System.ReadOnlySpan<number>, value: System.DateTimeOffset): void;
WriteString(utf8PropertyName: System.ReadOnlySpan<byte>, value: System.DateTimeOffset): void;
WriteNumber(propertyName: System.Text.Json.JsonEncodedText, value: decimal): void;
WriteNumber(propertyName: string, value: decimal): void;
WriteNumber(propertyName: System.ReadOnlySpan<number>, value: decimal): void;
WriteNumber(utf8PropertyName: System.ReadOnlySpan<byte>, value: decimal): void;
WriteNumber(propertyName: System.Text.Json.JsonEncodedText, value: double): void;
WriteNumber(propertyName: string, value: double): void;
WriteNumber(propertyName: System.ReadOnlySpan<number>, value: double): void;
WriteNumber(utf8PropertyName: System.ReadOnlySpan<byte>, value: double): void;
WriteNumber(propertyName: System.Text.Json.JsonEncodedText, value: float): void;
WriteNumber(propertyName: string, value: float): void;
WriteNumber(propertyName: System.ReadOnlySpan<number>, value: float): void;
WriteNumber(utf8PropertyName: System.ReadOnlySpan<byte>, value: float): void;
WriteString(propertyName: System.Text.Json.JsonEncodedText, value: System.Guid): void;
WriteString(propertyName: string, value: System.Guid): void;
WriteString(propertyName: System.ReadOnlySpan<number>, value: System.Guid): void;
WriteString(utf8PropertyName: System.ReadOnlySpan<byte>, value: System.Guid): void;
WriteNull(propertyName: System.Text.Json.JsonEncodedText): void;
WriteNull(propertyName: string): void;
WriteNull(propertyName: System.ReadOnlySpan<number>): void;
WriteNull(utf8PropertyName: System.ReadOnlySpan<byte>): void;
WriteBoolean(propertyName: System.Text.Json.JsonEncodedText, value: boolean): void;
WriteBoolean(propertyName: string, value: boolean): void;
WriteBoolean(propertyName: System.ReadOnlySpan<number>, value: boolean): void;
WriteBoolean(utf8PropertyName: System.ReadOnlySpan<byte>, value: boolean): void;
WriteNumber(propertyName: System.Text.Json.JsonEncodedText, value: long): void;
WriteNumber(propertyName: string, value: long): void;
WriteNumber(propertyName: System.ReadOnlySpan<number>, value: long): void;
WriteNumber(utf8PropertyName: System.ReadOnlySpan<byte>, value: long): void;
WriteNumber(propertyName: System.Text.Json.JsonEncodedText, value: int): void;
WriteNumber(propertyName: string, value: int): void;
WriteNumber(propertyName: System.ReadOnlySpan<number>, value: int): void;
WriteNumber(utf8PropertyName: System.ReadOnlySpan<byte>, value: int): void;
WritePropertyName(propertyName: System.Text.Json.JsonEncodedText): void;
WritePropertyName(propertyName: string): void;
WritePropertyName(propertyName: System.ReadOnlySpan<number>): void;
WritePropertyName(utf8PropertyName: System.ReadOnlySpan<byte>): void;
WriteString(propertyName: System.Text.Json.JsonEncodedText, value: System.Text.Json.JsonEncodedText): void;
WriteString(propertyName: string, value: System.Text.Json.JsonEncodedText): void;
WriteString(propertyName: string, value: string): void;
WriteString(propertyName: System.ReadOnlySpan<number>, value: System.ReadOnlySpan<number>): void;
WriteString(utf8PropertyName: System.ReadOnlySpan<byte>, utf8Value: System.ReadOnlySpan<byte>): void;
WriteString(propertyName: System.Text.Json.JsonEncodedText, value: string): void;
WriteString(propertyName: System.Text.Json.JsonEncodedText, value: System.ReadOnlySpan<number>): void;
WriteString(propertyName: string, value: System.ReadOnlySpan<number>): void;
WriteString(utf8PropertyName: System.ReadOnlySpan<byte>, value: System.ReadOnlySpan<number>): void;
WriteString(propertyName: System.Text.Json.JsonEncodedText, utf8Value: System.ReadOnlySpan<byte>): void;
WriteString(propertyName: string, utf8Value: System.ReadOnlySpan<byte>): void;
WriteString(propertyName: System.ReadOnlySpan<number>, utf8Value: System.ReadOnlySpan<byte>): void;
WriteString(propertyName: System.ReadOnlySpan<number>, value: System.Text.Json.JsonEncodedText): void;
WriteString(propertyName: System.ReadOnlySpan<number>, value: string): void;
WriteString(utf8PropertyName: System.ReadOnlySpan<byte>, value: System.Text.Json.JsonEncodedText): void;
WriteString(utf8PropertyName: System.ReadOnlySpan<byte>, value: string): void;
WriteNumber(propertyName: System.Text.Json.JsonEncodedText, value: ulong): void;
WriteNumber(propertyName: string, value: ulong): void;
WriteNumber(propertyName: System.ReadOnlySpan<number>, value: ulong): void;
WriteNumber(utf8PropertyName: System.ReadOnlySpan<byte>, value: ulong): void;
WriteNumber(propertyName: System.Text.Json.JsonEncodedText, value: uint): void;
WriteNumber(propertyName: string, value: uint): void;
WriteNumber(propertyName: System.ReadOnlySpan<number>, value: uint): void;
WriteNumber(utf8PropertyName: System.ReadOnlySpan<byte>, value: uint): void;
WriteBase64StringValue(bytes: System.ReadOnlySpan<byte>): void;
WriteCommentValue(value: string): void;
WriteCommentValue(value: System.ReadOnlySpan<number>): void;
WriteCommentValue(utf8Value: System.ReadOnlySpan<byte>): void;
WriteStringValue(value: System.DateTime): void;
WriteStringValue(value: System.DateTimeOffset): void;
WriteNumberValue(value: decimal): void;
WriteNumberValue(value: double): void;
WriteNumberValue(value: float): void;
WriteStringValue(value: System.Guid): void;
WriteNullValue(): void;
WriteBooleanValue(value: boolean): void;
WriteRawValue(json: string, skipInputValidation?: boolean): void;
WriteRawValue(json: System.ReadOnlySpan<number>, skipInputValidation?: boolean): void;
WriteRawValue(utf8Json: System.ReadOnlySpan<byte>, skipInputValidation?: boolean): void;
WriteRawValue(utf8Json: System.Buffers.ReadOnlySequence<byte>, skipInputValidation?: boolean): void;
WriteNumberValue(value: int): void;
WriteNumberValue(value: long): void;
WriteStringValue(value: System.Text.Json.JsonEncodedText): void;
WriteStringValue(value: string): void;
WriteStringValue(value: System.ReadOnlySpan<number>): void;
WriteStringValue(utf8Value: System.ReadOnlySpan<byte>): void;
WriteNumberValue(value: uint): void;
WriteNumberValue(value: ulong): void;
}
}
declare namespace System.Text.Json.Nodes {
class JsonArray extends System.Text.Json.Nodes.JsonNode implements System.Collections.Generic.IList<System.Text.Json.Nodes.JsonNode>, System.Collections.Generic.ICollection<System.Text.Json.Nodes.JsonNode>, ReadonlyArray<System.Text.Json.Nodes.JsonNode>, System.Collections.IEnumerable {
constructor(options?: System.Text.Json.Nodes.JsonNodeOptions | null);
constructor(options: System.Text.Json.Nodes.JsonNodeOptions, ...items: ReadonlyArray<System.Text.Json.Nodes.JsonNode>);
constructor(options: System.Text.Json.Nodes.JsonNodeOptions, items: System.ReadOnlySpan<System.Text.Json.Nodes.JsonNode>);
constructor(...items: ReadonlyArray<System.Text.Json.Nodes.JsonNode>);
constructor(items: System.ReadOnlySpan<System.Text.Json.Nodes.JsonNode>);
readonly Count: int;
GetValues<T>(): ReadonlyArray<T>;
static Create(element: System.Text.Json.JsonElement, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonArray;
Add<T>(value: T): void;
WriteTo(writer: System.Text.Json.Utf8JsonWriter, options?: System.Text.Json.JsonSerializerOptions): void;
Add(item: System.Text.Json.Nodes.JsonNode): void;
Clear(): void;
Contains(item: System.Text.Json.Nodes.JsonNode): boolean;
IndexOf(item: System.Text.Json.Nodes.JsonNode): int;
Insert(index: int, item: System.Text.Json.Nodes.JsonNode): void;
Remove(item: System.Text.Json.Nodes.JsonNode): boolean;
RemoveAt(index: int): void;
RemoveAll(match: System.Func<System.Text.Json.Nodes.JsonNode, boolean>): int;
RemoveRange(index: int, count: int): void;
GetEnumerator(): System.Collections.Generic.IEnumerator<System.Text.Json.Nodes.JsonNode>;
}
class JsonNode {
readonly Options: System.Text.Json.Nodes.JsonNodeOptions | null;
Parent: System.Text.Json.Nodes.JsonNode;
readonly Root: System.Text.Json.Nodes.JsonNode;
Item: System.Text.Json.Nodes.JsonNode;
Item: System.Text.Json.Nodes.JsonNode;
AsArray(): System.Text.Json.Nodes.JsonArray;
AsObject(): System.Text.Json.Nodes.JsonObject;
AsValue(): System.Text.Json.Nodes.JsonValue;
GetPath(): string;
GetValue<T>(): T;
DeepClone(): System.Text.Json.Nodes.JsonNode;
GetValueKind(): System.Text.Json.JsonValueKind;
GetPropertyName(): string;
GetElementIndex(): int;
static DeepEquals(node1: System.Text.Json.Nodes.JsonNode, node2: System.Text.Json.Nodes.JsonNode): boolean;
ReplaceWith<T>(value: T): void;
static Parse(reader: System.Text.Json.Utf8JsonReader, nodeOptions?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonNode;
static Parse(json: string, nodeOptions?: System.Text.Json.Nodes.JsonNodeOptions | null, documentOptions?: System.Text.Json.JsonDocumentOptions): System.Text.Json.Nodes.JsonNode;
static Parse(utf8Json: System.ReadOnlySpan<byte>, nodeOptions?: System.Text.Json.Nodes.JsonNodeOptions | null, documentOptions?: System.Text.Json.JsonDocumentOptions): System.Text.Json.Nodes.JsonNode;
static Parse(utf8Json: System.IO.Stream, nodeOptions?: System.Text.Json.Nodes.JsonNodeOptions | null, documentOptions?: System.Text.Json.JsonDocumentOptions): System.Text.Json.Nodes.JsonNode;
static ParseAsync(utf8Json: System.IO.Stream, nodeOptions?: System.Text.Json.Nodes.JsonNodeOptions | null, documentOptions?: System.Text.Json.JsonDocumentOptions, cancellationToken?: System.Threading.CancellationToken): Promise<System.Text.Json.Nodes.JsonNode>;
ToJsonString(options?: System.Text.Json.JsonSerializerOptions): string;
WriteTo(writer: System.Text.Json.Utf8JsonWriter, options?: System.Text.Json.JsonSerializerOptions): void;
}
class JsonNodeOptions {
PropertyNameCaseInsensitive: boolean;
}
class JsonObject extends System.Text.Json.Nodes.JsonNode implements System.Collections.Generic.IDictionary<string, System.Text.Json.Nodes.JsonNode>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, System.Text.Json.Nodes.JsonNode>>, ReadonlyArray<System.Collections.Generic.KeyValuePair<string, System.Text.Json.Nodes.JsonNode>>, System.Collections.IEnumerable, System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<string, System.Text.Json.Nodes.JsonNode>> {
constructor(options?: System.Text.Json.Nodes.JsonNodeOptions | null);
constructor(properties: ReadonlyArray<System.Collections.Generic.KeyValuePair<string, System.Text.Json.Nodes.JsonNode>>, options?: System.Text.Json.Nodes.JsonNodeOptions | null);
readonly Count: int;
static Create(element: System.Text.Json.JsonElement, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonObject;
TryGetPropertyValue(propertyName: string, jsonNode: System.Text.Json.Nodes.JsonNode): boolean;
TryGetPropertyValue(propertyName: string, jsonNode: System.Text.Json.Nodes.JsonNode, index: int): boolean;
WriteTo(writer: System.Text.Json.Utf8JsonWriter, options?: System.Text.Json.JsonSerializerOptions): void;
Add(propertyName: string, value: System.Text.Json.Nodes.JsonNode): void;
TryAdd(propertyName: string, value: System.Text.Json.Nodes.JsonNode): boolean;
TryAdd(propertyName: string, value: System.Text.Json.Nodes.JsonNode, index: int): boolean;
Add(property: System.Collections.Generic.KeyValuePair<string, System.Text.Json.Nodes.JsonNode>): void;
Clear(): void;
ContainsKey(propertyName: string): boolean;
Remove(propertyName: string): boolean;
GetEnumerator(): System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, System.Text.Json.Nodes.JsonNode>>;
GetAt(index: int): System.Collections.Generic.KeyValuePair<string, System.Text.Json.Nodes.JsonNode>;
SetAt(index: int, propertyName: string, value: System.Text.Json.Nodes.JsonNode): void;
SetAt(index: int, value: System.Text.Json.Nodes.JsonNode): void;
IndexOf(propertyName: string): int;
Insert(index: int, propertyName: string, value: System.Text.Json.Nodes.JsonNode): void;
RemoveAt(index: int): void;
}
class JsonValue extends System.Text.Json.Nodes.JsonNode {
static Create(value: boolean, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: boolean | null, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: byte, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: byte | null, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: number, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: number | null, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: System.DateTime, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: System.DateTime | null, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: System.DateTimeOffset, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: System.DateTimeOffset | null, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: decimal, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: decimal | null, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: double, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: double | null, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: System.Guid, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: System.Guid | null, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: short, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: short | null, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: int, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: int | null, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: long, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: long | null, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: sbyte, options?: System.Text.Json.Nodes.JsonNodeOptions | null): System.Text.Json.Nodes.JsonValue;
static Create(value: sbyte | null, options?: System.Text.Json.Nodes.J