Utf8JsonWriter.WriteStartArray 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| Name | Description |
|---|---|
| WriteStartArray() |
JSON 배열의 시작을 씁니다. |
| WriteStartArray(ReadOnlySpan<Byte>) |
읽기 전용 바이트 범위로 지정된 속성 이름을 키로 사용하여 JSON 배열의 시작을 씁니다. |
| WriteStartArray(ReadOnlySpan<Char>) |
읽기 전용 문자 범위로 지정된 속성 이름을 키로 사용하여 JSON 배열의 시작을 씁니다. |
| WriteStartArray(String) |
문자열로 지정된 속성 이름을 키로 사용하여 JSON 배열의 시작을 씁니다. |
| WriteStartArray(JsonEncodedText) |
미리 인코딩된 속성 이름을 키로 사용하여 JSON 배열의 시작을 씁니다. |
WriteStartArray()
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
JSON 배열의 시작을 씁니다.
public:
void WriteStartArray();
public void WriteStartArray();
member this.WriteStartArray : unit -> unit
Public Sub WriteStartArray ()
예외
JSON의 깊이가 최대 깊이 1,000을 초과합니다.
-또는-
유효성 검사를 사용하도록 설정하면 이 쓰기 작업에서 잘못된 JSON이 생성됩니다.
적용 대상
WriteStartArray(ReadOnlySpan<Byte>)
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
읽기 전용 바이트 범위로 지정된 속성 이름을 키로 사용하여 JSON 배열의 시작을 씁니다.
public:
void WriteStartArray(ReadOnlySpan<System::Byte> utf8PropertyName);
public void WriteStartArray(ReadOnlySpan<byte> utf8PropertyName);
member this.WriteStartArray : ReadOnlySpan<byte> -> unit
Public Sub WriteStartArray (utf8PropertyName As ReadOnlySpan(Of Byte))
매개 변수
- utf8PropertyName
- ReadOnlySpan<Byte>
쓸 JSON 배열의 UTF-8로 인코딩된 속성 이름입니다.
예외
지정한 속성 이름이 너무 큽합니다.
JSON의 깊이가 최대 깊이 1,000을 초과합니다.
-또는-
유효성 검사를 사용하도록 설정하면 이 쓰기 작업에서 잘못된 JSON이 생성됩니다.
설명
속성 이름은 쓰기 전에 이스케이프됩니다.
적용 대상
WriteStartArray(ReadOnlySpan<Char>)
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
읽기 전용 문자 범위로 지정된 속성 이름을 키로 사용하여 JSON 배열의 시작을 씁니다.
public:
void WriteStartArray(ReadOnlySpan<char> propertyName);
public void WriteStartArray(ReadOnlySpan<char> propertyName);
member this.WriteStartArray : ReadOnlySpan<char> -> unit
Public Sub WriteStartArray (propertyName As ReadOnlySpan(Of Char))
매개 변수
- propertyName
- ReadOnlySpan<Char>
코드 변환 및 UTF-8로 작성할 JSON 배열의 UTF-16 인코딩된 속성 이름입니다.
예외
지정한 속성 이름이 너무 큽합니다.
JSON의 깊이가 최대 깊이 1,000을 초과합니다.
-또는-
유효성 검사를 사용하도록 설정하면 이 쓰기 작업에서 잘못된 JSON이 생성됩니다.
설명
속성 이름은 쓰기 전에 이스케이프됩니다.
적용 대상
WriteStartArray(String)
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
문자열로 지정된 속성 이름을 키로 사용하여 JSON 배열의 시작을 씁니다.
public:
void WriteStartArray(System::String ^ propertyName);
public void WriteStartArray(string propertyName);
member this.WriteStartArray : string -> unit
Public Sub WriteStartArray (propertyName As String)
매개 변수
- propertyName
- String
코드 변환 및 UTF-8로 작성할 JSON 배열의 UTF-16 인코딩된 속성 이름입니다.
예외
지정한 속성 이름이 너무 큽합니다.
JSON의 깊이가 최대 깊이 1,000을 초과합니다.
-또는-
유효성 검사를 사용하도록 설정하면 이 쓰기 작업에서 잘못된 JSON이 생성됩니다.
매개 변수는 propertyName .입니다 null.
설명
속성 이름은 쓰기 전에 이스케이프됩니다.
적용 대상
WriteStartArray(JsonEncodedText)
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
- Source:
- Utf8JsonWriter.cs
미리 인코딩된 속성 이름을 키로 사용하여 JSON 배열의 시작을 씁니다.
public:
void WriteStartArray(System::Text::Json::JsonEncodedText propertyName);
public void WriteStartArray(System.Text.Json.JsonEncodedText propertyName);
member this.WriteStartArray : System.Text.Json.JsonEncodedText -> unit
Public Sub WriteStartArray (propertyName As JsonEncodedText)
매개 변수
- propertyName
- JsonEncodedText
코드 변환 및 UTF-8로 작성할 JSON 배열의 JSON 인코딩된 속성 이름입니다.
예외
JSON의 깊이가 최대 깊이 1,000을 초과했습니다.
-또는-
유효성 검사를 사용하도록 설정하면 이 메서드로 인해 잘못된 JSON을 작성할 수 있습니다.
설명
인스턴스 JsonEncodedText 를 만들 때 속성 이름은 이미 이스케이프되어야 합니다.