Utf8JsonWriter 생성자

정의

오버로드

Utf8JsonWriter(IBufferWriter<Byte>, JsonWriterOptions)

출력을 쓰도록 지정된 IBufferWriter<T>와 사용자 지정 옵션을 사용하여 Utf8JsonWriter 클래스의 새 인스턴스를 초기화합니다.

Utf8JsonWriter(Stream, JsonWriterOptions)

출력을 쓰도록 지정된 스트림과 사용자 지정 옵션을 사용하여 Utf8JsonWriter 클래스의 새 인스턴스를 초기화합니다.

Utf8JsonWriter(IBufferWriter<Byte>, JsonWriterOptions)

Source:
Utf8JsonWriter.cs
Source:
Utf8JsonWriter.cs
Source:
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 RFC에 따라 작성 중인 JSON이 구조적으로 유효한지 확인합니다.

예외

bufferWriter이(가) null인 경우

적용 대상

Utf8JsonWriter(Stream, JsonWriterOptions)

Source:
Utf8JsonWriter.cs
Source:
Utf8JsonWriter.cs
Source:
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 RFC에 따라 작성 중인 JSON이 구조적으로 유효한지 확인합니다.

예외

utf8Json이(가) null인 경우

적용 대상