Utf8JsonWriter コンストラクター

定義

オーバーロード

Utf8JsonWriter(IBufferWriter<Byte>, JsonWriterOptions)

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

Utf8JsonWriter(Stream, JsonWriterOptions)

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

Utf8JsonWriter(IBufferWriter<Byte>, JsonWriterOptions)

出力の書き込み先に指定された 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 クラスの新しいインスタンスを初期化します。

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です。

適用対象