Utf8JsonWriter.WritePropertyName 메서드

정의

오버로드

WritePropertyName(JsonEncodedText)

미리 인코딩된 속성 이름(JSON 문자열)을 JSON 개체 이름/값 쌍의 첫 번째 파트로 작성합니다.

WritePropertyName(String)

속성 이름(JSON 문자열)을 JSON 개체 이름/값 쌍의 첫 번째 파트로 작성합니다.

WritePropertyName(ReadOnlySpan<Byte>)

UTF-8 속성 이름(JSON 문자열)을 JSON 개체 이름/값 쌍의 첫 번째 파트로 작성합니다.

WritePropertyName(ReadOnlySpan<Char>)

속성 이름(JSON 문자열)을 JSON 개체 이름/값 쌍의 첫 번째 파트로 작성합니다.

WritePropertyName(JsonEncodedText)

Source:
Utf8JsonWriter.WriteProperties.String.cs
Source:
Utf8JsonWriter.WriteProperties.String.cs
Source:
Utf8JsonWriter.WriteProperties.String.cs

미리 인코딩된 속성 이름(JSON 문자열)을 JSON 개체 이름/값 쌍의 첫 번째 파트로 작성합니다.

public:
 void WritePropertyName(System::Text::Json::JsonEncodedText propertyName);
public void WritePropertyName (System.Text.Json.JsonEncodedText propertyName);
member this.WritePropertyName : System.Text.Json.JsonEncodedText -> unit
Public Sub WritePropertyName (propertyName As JsonEncodedText)

매개 변수

propertyName
JsonEncodedText

UTF-8로 트랜스코딩되고 작성될 JSON 개체의 UTF-16 인코딩 속성 이름입니다.

예외

유효성 검사가 활성화되고, 이 쓰기 작업에서 잘못된 JSON을 생성합니다.

설명

인스턴스 JsonEncodedText 를 만들 때 속성 이름은 이미 이스케이프되어야 합니다.

적용 대상

WritePropertyName(String)

Source:
Utf8JsonWriter.WriteProperties.String.cs
Source:
Utf8JsonWriter.WriteProperties.String.cs
Source:
Utf8JsonWriter.WriteProperties.String.cs

속성 이름(JSON 문자열)을 JSON 개체 이름/값 쌍의 첫 번째 파트로 작성합니다.

public:
 void WritePropertyName(System::String ^ propertyName);
public void WritePropertyName (string propertyName);
member this.WritePropertyName : string -> unit
Public Sub WritePropertyName (propertyName As String)

매개 변수

propertyName
String

UTF-8로 트랜스코딩되고 작성될 JSON 개체의 속성 이름입니다.

예외

지정한 속성 이름이 너무 큽니다.

유효성 검사가 활성화되고, 이 쓰기 작업에서 잘못된 JSON을 생성합니다.

propertyName이(가) null인 경우

설명

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WritePropertyName(ReadOnlySpan<Byte>)

Source:
Utf8JsonWriter.WriteProperties.String.cs
Source:
Utf8JsonWriter.WriteProperties.String.cs
Source:
Utf8JsonWriter.WriteProperties.String.cs

UTF-8 속성 이름(JSON 문자열)을 JSON 개체 이름/값 쌍의 첫 번째 파트로 작성합니다.

public:
 void WritePropertyName(ReadOnlySpan<System::Byte> utf8PropertyName);
public void WritePropertyName (ReadOnlySpan<byte> utf8PropertyName);
member this.WritePropertyName : ReadOnlySpan<byte> -> unit
Public Sub WritePropertyName (utf8PropertyName As ReadOnlySpan(Of Byte))

매개 변수

utf8PropertyName
ReadOnlySpan<Byte>

작성될 JSON 개체의 UTF-8 인코딩 속성 이름입니다.

예외

지정한 속성 이름이 너무 큽니다.

유효성 검사가 활성화되고, 이 쓰기 작업에서 잘못된 JSON을 생성합니다.

설명

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WritePropertyName(ReadOnlySpan<Char>)

Source:
Utf8JsonWriter.WriteProperties.String.cs
Source:
Utf8JsonWriter.WriteProperties.String.cs
Source:
Utf8JsonWriter.WriteProperties.String.cs

속성 이름(JSON 문자열)을 JSON 개체 이름/값 쌍의 첫 번째 파트로 작성합니다.

public:
 void WritePropertyName(ReadOnlySpan<char> propertyName);
public void WritePropertyName (ReadOnlySpan<char> propertyName);
member this.WritePropertyName : ReadOnlySpan<char> -> unit
Public Sub WritePropertyName (propertyName As ReadOnlySpan(Of Char))

매개 변수

propertyName
ReadOnlySpan<Char>

UTF-8로 트랜스코딩되고 작성될 JSON 개체의 속성 이름입니다.

예외

지정한 속성 이름이 너무 큽니다.

유효성 검사가 활성화되고, 이 쓰기 작업에서 잘못된 JSON을 생성합니다.

설명

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상