Utf8JsonWriter コンストラクター

定義

オーバーロード

名前 説明
Utf8JsonWriter(IBufferWriter<Byte>, JsonWriterOptions)

指定したIBufferWriter<T>を使用して、出力の書き込みとカスタマイズ オプションを使用して、Utf8JsonWriter クラスの新しいインスタンスを初期化します。

Utf8JsonWriter(Stream, JsonWriterOptions)

指定したストリームを使用して Utf8JsonWriter クラスの新しいインスタンスを初期化して、出力を書き込み、オプションをカスタマイズします。

Utf8JsonWriter(IBufferWriter<Byte>, JsonWriterOptions)

ソース:
Utf8JsonWriter.cs
ソース:
Utf8JsonWriter.cs
ソース:
Utf8JsonWriter.cs
ソース:
Utf8JsonWriter.cs
ソース:
Utf8JsonWriter.cs
ソース:
Utf8JsonWriter.cs
ソース:
Utf8JsonWriter.cs

指定したIBufferWriter<T>を使用して、出力の書き込みとカスタマイズ オプションを使用して、Utf8JsonWriter クラスの新しいインスタンスを初期化します。

public Utf8JsonWriter(System.Buffers.IBufferWriter<byte> bufferWriter, System.Text.Json.JsonWriterOptions options = default);
new System.Text.Json.Utf8JsonWriter : System.Buffers.IBufferWriter<byte> * System.Text.Json.JsonWriterOptions -> System.Text.Json.Utf8JsonWriter
Public Sub New (bufferWriter As IBufferWriter(Of Byte), Optional options As JsonWriterOptions = Nothing)

パラメーター

bufferWriter
IBufferWriter<Byte>

JSON テキストを書き込む宛先。

options
JsonWriterOptions

Utf8JsonWriterのカスタマイズされた動作を定義します。 既定では、最小化された JSON (余分な空白を含まない) が書き込まれ、書き込まれる JSON が JSON RFC に従って構造的に有効であることが検証されます。

例外

bufferWriternullです。

適用対象

Utf8JsonWriter(Stream, JsonWriterOptions)

ソース:
Utf8JsonWriter.cs
ソース:
Utf8JsonWriter.cs
ソース:
Utf8JsonWriter.cs
ソース:
Utf8JsonWriter.cs
ソース:
Utf8JsonWriter.cs
ソース:
Utf8JsonWriter.cs
ソース:
Utf8JsonWriter.cs

指定したストリームを使用して Utf8JsonWriter クラスの新しいインスタンスを初期化して、出力を書き込み、オプションをカスタマイズします。

public Utf8JsonWriter(System.IO.Stream utf8Json, System.Text.Json.JsonWriterOptions options = default);
new System.Text.Json.Utf8JsonWriter : System.IO.Stream * System.Text.Json.JsonWriterOptions -> System.Text.Json.Utf8JsonWriter
Public Sub New (utf8Json As Stream, Optional options As JsonWriterOptions = Nothing)

パラメーター

utf8Json
Stream

JSON テキストを書き込む宛先。

options
JsonWriterOptions

Utf8JsonWriterのカスタマイズされた動作を定義します。 既定では、最小化された JSON (余分な空白を含まない) が書き込まれ、書き込まれる JSON が JSON RFC に従って構造的に有効であることが検証されます。

例外

utf8Jsonnullです。

適用対象