Utf8JsonWriter.WriteStringValueSegment 메서드

정의

오버로드

Name Description
WriteStringValueSegment(ReadOnlySpan<Byte>, Boolean)

UTF-8 텍스트 값 세그먼트를 부분 JSON 문자열로 씁니다.

WriteStringValueSegment(ReadOnlySpan<Char>, Boolean)

텍스트 값 세그먼트를 부분 JSON 문자열로 씁니다.

WriteStringValueSegment(ReadOnlySpan<Byte>, Boolean)

Source:
Utf8JsonWriter.WriteValues.StringSegment.cs
Source:
Utf8JsonWriter.WriteValues.StringSegment.cs
Source:
Utf8JsonWriter.WriteValues.StringSegment.cs

UTF-8 텍스트 값 세그먼트를 부분 JSON 문자열로 씁니다.

public:
 void WriteStringValueSegment(ReadOnlySpan<System::Byte> value, bool isFinalSegment);
public void WriteStringValueSegment(ReadOnlySpan<byte> value, bool isFinalSegment);
member this.WriteStringValueSegment : ReadOnlySpan<byte> * bool -> unit
Public Sub WriteStringValueSegment (value As ReadOnlySpan(Of Byte), isFinalSegment As Boolean)

매개 변수

value
ReadOnlySpan<Byte>

JSON 배열의 JSON 문자열 요소로 작성할 UTF-8로 인코딩된 값입니다.

isFinalSegment
Boolean

문자열의 마지막 세그먼트임을 나타냅니다.

예외

지정한 값이 너무 큽합니다.

유효성 검사를 사용하도록 설정하면 잘못된 JSON이 작성되거나 이전에 작성된 세그먼트(있는 경우)가 동일한 오버로드로 작성되지 않은 경우 이 오류가 발생합니다.

설명

이 값은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteStringValueSegment(ReadOnlySpan<Char>, Boolean)

Source:
Utf8JsonWriter.WriteValues.StringSegment.cs
Source:
Utf8JsonWriter.WriteValues.StringSegment.cs
Source:
Utf8JsonWriter.WriteValues.StringSegment.cs

텍스트 값 세그먼트를 부분 JSON 문자열로 씁니다.

public:
 void WriteStringValueSegment(ReadOnlySpan<char> value, bool isFinalSegment);
public void WriteStringValueSegment(ReadOnlySpan<char> value, bool isFinalSegment);
member this.WriteStringValueSegment : ReadOnlySpan<char> * bool -> unit
Public Sub WriteStringValueSegment (value As ReadOnlySpan(Of Char), isFinalSegment As Boolean)

매개 변수

value
ReadOnlySpan<Char>

쓸 값입니다.

isFinalSegment
Boolean

문자열의 마지막 세그먼트임을 나타냅니다.

예외

지정한 값이 너무 큽합니다.

유효성 검사를 사용하도록 설정하면 잘못된 JSON이 작성되거나 이전에 작성된 세그먼트(있는 경우)가 동일한 오버로드로 작성되지 않은 경우 이 오류가 발생합니다.

설명

이 값은 쓰기 전에 이스케이프됩니다.

적용 대상