Utf8JsonReader 생성자

정의

오버로드

Name Description
Utf8JsonReader(ReadOnlySequence<Byte>, JsonReaderOptions)

지정된 옵션을 사용하여 UTF-8로 인코딩된 텍스트의 읽기 전용 시퀀스를 처리하는 구조체의 새 인스턴스 Utf8JsonReader 를 초기화합니다.

Utf8JsonReader(ReadOnlySpan<Byte>, JsonReaderOptions)

지정된 옵션을 사용하여 UTF-8로 인코딩된 텍스트의 읽기 전용 범위를 처리하는 구조체의 새 인스턴스 Utf8JsonReader 를 초기화합니다.

Utf8JsonReader(ReadOnlySequence<Byte>, Boolean, JsonReaderState)

UTF-8로 인코딩된 텍스트의 Utf8JsonReader 읽기 전용 시퀀스를 처리하고 입력에 처리할 모든 텍스트가 포함되어 있는지 여부를 나타내는 구조체의 새 인스턴스를 초기화합니다.

Utf8JsonReader(ReadOnlySpan<Byte>, Boolean, JsonReaderState)

UTF-8로 인코딩된 텍스트의 Utf8JsonReader 읽기 전용 범위를 처리하고 입력에 처리할 모든 텍스트가 포함되어 있는지 여부를 나타내는 구조체의 새 인스턴스를 초기화합니다.

Utf8JsonReader(ReadOnlySequence<Byte>, JsonReaderOptions)

Source:
Utf8JsonReader.MultiSegment.cs
Source:
Utf8JsonReader.MultiSegment.cs
Source:
Utf8JsonReader.MultiSegment.cs
Source:
Utf8JsonReader.MultiSegment.cs
Source:
Utf8JsonReader.MultiSegment.cs
Source:
Utf8JsonReader.MultiSegment.cs
Source:
Utf8JsonReader.MultiSegment.cs

지정된 옵션을 사용하여 UTF-8로 인코딩된 텍스트의 읽기 전용 시퀀스를 처리하는 구조체의 새 인스턴스 Utf8JsonReader 를 초기화합니다.

public Utf8JsonReader(System.Buffers.ReadOnlySequence<byte> jsonData, System.Text.Json.JsonReaderOptions options = default);
new System.Text.Json.Utf8JsonReader : System.Buffers.ReadOnlySequence<byte> * System.Text.Json.JsonReaderOptions -> System.Text.Json.Utf8JsonReader
Public Sub New (jsonData As ReadOnlySequence(Of Byte), Optional options As JsonReaderOptions = Nothing)

매개 변수

jsonData
ReadOnlySequence<Byte>

처리할 UTF-8로 인코딩된 JSON 텍스트입니다.

options
JsonReaderOptions

JSON RFC와 다른 사용자 지정 동작 Utf8JsonReader 을 정의하는 옵션(예: 주석을 처리하는 방법 또는 읽을 때 허용되는 최대 깊이). 기본적으로 Utf8JsonReader JSON RFC는 엄격하게 따릅니다. JSON 내의 주석은 유효하지 않으며 최대 깊이는 64입니다.

설명

이 형식은 ref 구조체이므로 스택 전용 형식이며 ref 구조체의 모든 제한 사항이 적용됩니다.

이 생성자는 전체 JSON 페이로드가 포함되어 jsonDataUtf8JsonReader.IsFinalBlock = true있다고 가정합니다.

적용 대상

Utf8JsonReader(ReadOnlySpan<Byte>, JsonReaderOptions)

Source:
Utf8JsonReader.cs
Source:
Utf8JsonReader.cs
Source:
Utf8JsonReader.cs
Source:
Utf8JsonReader.cs
Source:
Utf8JsonReader.cs
Source:
Utf8JsonReader.cs
Source:
Utf8JsonReader.cs

지정된 옵션을 사용하여 UTF-8로 인코딩된 텍스트의 읽기 전용 범위를 처리하는 구조체의 새 인스턴스 Utf8JsonReader 를 초기화합니다.

public Utf8JsonReader(ReadOnlySpan<byte> jsonData, System.Text.Json.JsonReaderOptions options = default);
new System.Text.Json.Utf8JsonReader : ReadOnlySpan<byte> * System.Text.Json.JsonReaderOptions -> System.Text.Json.Utf8JsonReader
Public Sub New (jsonData As ReadOnlySpan(Of Byte), Optional options As JsonReaderOptions = Nothing)

매개 변수

jsonData
ReadOnlySpan<Byte>

처리할 UTF-8로 인코딩된 JSON 텍스트입니다.

options
JsonReaderOptions

JSON RFC와 다른 사용자 지정 동작 Utf8JsonReader 을 정의하는 옵션(예: 주석을 처리하는 방법 또는 읽을 때 허용되는 최대 깊이). 기본적으로 Utf8JsonReader JSON RFC는 엄격하게 따릅니다. JSON 내의 주석은 유효하지 않으며 최대 깊이는 64입니다.

설명

이 형식은 ref 구조체이므로 스택 전용 형식이며 ref 구조체의 모든 제한 사항이 적용됩니다.

이 생성자는 전체 JSON 페이로드가 포함되어 jsonDataUtf8JsonReader.IsFinalBlock = true있다고 가정합니다.

적용 대상

Utf8JsonReader(ReadOnlySequence<Byte>, Boolean, JsonReaderState)

Source:
Utf8JsonReader.MultiSegment.cs
Source:
Utf8JsonReader.MultiSegment.cs
Source:
Utf8JsonReader.MultiSegment.cs
Source:
Utf8JsonReader.MultiSegment.cs
Source:
Utf8JsonReader.MultiSegment.cs
Source:
Utf8JsonReader.MultiSegment.cs
Source:
Utf8JsonReader.MultiSegment.cs

UTF-8로 인코딩된 텍스트의 Utf8JsonReader 읽기 전용 시퀀스를 처리하고 입력에 처리할 모든 텍스트가 포함되어 있는지 여부를 나타내는 구조체의 새 인스턴스를 초기화합니다.

public:
 Utf8JsonReader(System::Buffers::ReadOnlySequence<System::Byte> jsonData, bool isFinalBlock, System::Text::Json::JsonReaderState state);
public Utf8JsonReader(System.Buffers.ReadOnlySequence<byte> jsonData, bool isFinalBlock, System.Text.Json.JsonReaderState state);
new System.Text.Json.Utf8JsonReader : System.Buffers.ReadOnlySequence<byte> * bool * System.Text.Json.JsonReaderState -> System.Text.Json.Utf8JsonReader
Public Sub New (jsonData As ReadOnlySequence(Of Byte), isFinalBlock As Boolean, state As JsonReaderState)

매개 변수

jsonData
ReadOnlySequence<Byte>

처리할 UTF-8로 인코딩된 JSON 텍스트입니다.

isFinalBlock
Boolean

true 입력 시퀀스에 처리할 전체 데이터가 포함되어 있음을 나타내려면 입니다. false 입력 범위에 따라야 할 데이터가 더 많은 부분 데이터가 포함되어 있음을 나타냅니다.

state
JsonReaderState

판독기 상태입니다. 생성자에 대한 첫 번째 호출인 경우 기본 상태를 전달합니다. 그렇지 않으면 이전 인스턴스의 CurrentState 속성 값을 전달합니다 Utf8JsonReader.

설명

이 형식은 ref 구조체이므로 스택 전용 형식이며 ref 구조체의 모든 제한 사항이 적용됩니다. 이것이 생성자가 .를 허용하는 이유입니다 JsonReaderState.

적용 대상

Utf8JsonReader(ReadOnlySpan<Byte>, Boolean, JsonReaderState)

Source:
Utf8JsonReader.cs
Source:
Utf8JsonReader.cs
Source:
Utf8JsonReader.cs
Source:
Utf8JsonReader.cs
Source:
Utf8JsonReader.cs
Source:
Utf8JsonReader.cs
Source:
Utf8JsonReader.cs

UTF-8로 인코딩된 텍스트의 Utf8JsonReader 읽기 전용 범위를 처리하고 입력에 처리할 모든 텍스트가 포함되어 있는지 여부를 나타내는 구조체의 새 인스턴스를 초기화합니다.

public:
 Utf8JsonReader(ReadOnlySpan<System::Byte> jsonData, bool isFinalBlock, System::Text::Json::JsonReaderState state);
public Utf8JsonReader(ReadOnlySpan<byte> jsonData, bool isFinalBlock, System.Text.Json.JsonReaderState state);
new System.Text.Json.Utf8JsonReader : ReadOnlySpan<byte> * bool * System.Text.Json.JsonReaderState -> System.Text.Json.Utf8JsonReader
Public Sub New (jsonData As ReadOnlySpan(Of Byte), isFinalBlock As Boolean, state As JsonReaderState)

매개 변수

jsonData
ReadOnlySpan<Byte>

처리할 UTF-8로 인코딩된 JSON 텍스트입니다.

isFinalBlock
Boolean

true 입력 시퀀스에 처리할 전체 데이터가 포함되어 있음을 나타내려면 입니다. false 입력 범위에 따라야 할 데이터가 더 많은 부분 데이터가 포함되어 있음을 나타냅니다.

state
JsonReaderState

판독기 상태입니다. 생성자에 대한 첫 번째 호출인 경우 기본 상태를 전달합니다. 그렇지 않으면 이전 인스턴스의 CurrentState 속성 값을 전달합니다 Utf8JsonReader.

설명

이 형식은 ref 구조체이므로 스택 전용 형식이며 ref 구조체의 모든 제한 사항이 적용됩니다. 이것이 생성자가 .를 허용하는 이유입니다 JsonReaderState.

적용 대상