JsonSerializer.DeserializeAsyncEnumerable 메서드

정의

오버로드

Name Description
DeserializeAsyncEnumerable<TValue>(PipeReader, JsonTypeInfo<TValue>, Boolean, CancellationToken)

UTF-8로 인코딩된 텍스트를 스트리밍 방식으로 JSON 값 시퀀스를 역직렬화하는 데 사용할 수 있는 텍스트로 IAsyncEnumerable<T> 래핑합니다.

DeserializeAsyncEnumerable<TValue>(Stream, JsonTypeInfo<TValue>, Boolean, CancellationToken)

UTF-8로 인코딩된 텍스트를 스트리밍 방식으로 JSON 값 시퀀스를 역직렬화하는 데 사용할 수 있는 텍스트로 IAsyncEnumerable<T> 래핑합니다.

DeserializeAsyncEnumerable<TValue>(Stream, Boolean, JsonSerializerOptions, CancellationToken)

UTF-8로 인코딩된 텍스트를 스트리밍 방식으로 JSON 값 시퀀스를 역직렬화하는 데 사용할 수 있는 텍스트로 IAsyncEnumerable<T> 래핑합니다.

DeserializeAsyncEnumerable<TValue>(PipeReader, Boolean, JsonSerializerOptions, CancellationToken)

UTF-8로 인코딩된 텍스트를 스트리밍 방식으로 JSON 값 시퀀스를 역직렬화하는 데 사용할 수 있는 텍스트로 IAsyncEnumerable<T> 래핑합니다.

DeserializeAsyncEnumerable<TValue>(PipeReader, JsonTypeInfo<TValue>, CancellationToken)

UTF-8로 인코딩된 텍스트를 스트리밍 방식으로 루트 수준 JSON 배열을 역직렬화하는 데 사용할 수 있는 텍스트로 IAsyncEnumerable<T> 래핑합니다.

DeserializeAsyncEnumerable<TValue>(Stream, JsonSerializerOptions, CancellationToken)

UTF-8로 인코딩된 텍스트를 스트리밍 방식으로 루트 수준 JSON 배열을 역직렬화하는 데 사용할 수 있는 텍스트로 IAsyncEnumerable<T> 래핑합니다.

DeserializeAsyncEnumerable<TValue>(Stream, JsonTypeInfo<TValue>, CancellationToken)

UTF-8로 인코딩된 텍스트를 스트리밍 방식으로 루트 수준 JSON 배열을 역직렬화하는 데 사용할 수 있는 텍스트로 IAsyncEnumerable<T> 래핑합니다.

DeserializeAsyncEnumerable<TValue>(PipeReader, JsonSerializerOptions, CancellationToken)

UTF-8로 인코딩된 텍스트를 스트리밍 방식으로 루트 수준 JSON 배열을 역직렬화하는 데 사용할 수 있는 텍스트로 IAsyncEnumerable<T> 래핑합니다.

DeserializeAsyncEnumerable<TValue>(PipeReader, JsonTypeInfo<TValue>, Boolean, CancellationToken)

Source:
JsonSerializer.Read.Pipe.cs
Source:
JsonSerializer.Read.Pipe.cs
Source:
JsonSerializer.Read.Pipe.cs

UTF-8로 인코딩된 텍스트를 스트리밍 방식으로 JSON 값 시퀀스를 역직렬화하는 데 사용할 수 있는 텍스트로 IAsyncEnumerable<T> 래핑합니다.

public static System.Collections.Generic.IAsyncEnumerable<TValue?> DeserializeAsyncEnumerable<TValue>(System.IO.Pipelines.PipeReader utf8Json, System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue> jsonTypeInfo, bool topLevelValues, System.Threading.CancellationToken cancellationToken = default);
static member DeserializeAsyncEnumerable : System.IO.Pipelines.PipeReader * System.Text.Json.Serialization.Metadata.JsonTypeInfo<'Value> * bool * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Value>
Public Function DeserializeAsyncEnumerable(Of TValue) (utf8Json As PipeReader, jsonTypeInfo As JsonTypeInfo(Of TValue), topLevelValues As Boolean, Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of TValue)

형식 매개 변수

TValue

비동기적으로 역직렬화할 요소 형식입니다.

매개 변수

utf8Json
PipeReader

구문 분석할 JSON 데이터입니다.

jsonTypeInfo
JsonTypeInfo<TValue>

변환할 요소 형식에 대한 메타데이터입니다.

topLevelValues
Boolean

최상위 JSON 값 시퀀스에서 역직렬화할지 여부입니다.

cancellationToken
CancellationToken

CancellationToken 읽기 작업을 취소하는 데 사용할 수 있는 항목입니다.

반품

IAsyncEnumerable<T> 제공된 JSON 시퀀스의 표현입니다.

예외

utf8Json 또는 jsonTypeInfo .입니다 null.

설명

설정true되면 topLevelValues PipeReader를 공백으로 구분된 최상위 JSON 값의 시퀀스로 처리하고 각 값을 TValue역직렬화하려고 시도합니다.

topLevelValues 설정false되면 PipeReader를 JSON 배열로 처리하고 각 요소를 .로 TValue직렬화하려고 시도합니다.

적용 대상

DeserializeAsyncEnumerable<TValue>(Stream, JsonTypeInfo<TValue>, Boolean, CancellationToken)

Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs

UTF-8로 인코딩된 텍스트를 스트리밍 방식으로 JSON 값 시퀀스를 역직렬화하는 데 사용할 수 있는 텍스트로 IAsyncEnumerable<T> 래핑합니다.

public static System.Collections.Generic.IAsyncEnumerable<TValue?> DeserializeAsyncEnumerable<TValue>(System.IO.Stream utf8Json, System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue> jsonTypeInfo, bool topLevelValues, System.Threading.CancellationToken cancellationToken = default);
static member DeserializeAsyncEnumerable : System.IO.Stream * System.Text.Json.Serialization.Metadata.JsonTypeInfo<'Value> * bool * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Value>
Public Function DeserializeAsyncEnumerable(Of TValue) (utf8Json As Stream, jsonTypeInfo As JsonTypeInfo(Of TValue), topLevelValues As Boolean, Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of TValue)

형식 매개 변수

TValue

비동기적으로 역직렬화할 요소 형식입니다.

매개 변수

utf8Json
Stream

구문 분석할 JSON 데이터입니다.

jsonTypeInfo
JsonTypeInfo<TValue>

변환할 요소 형식에 대한 메타데이터입니다.

topLevelValues
Boolean

최상위 JSON 값 시퀀스에서 역직렬화할지 여부입니다.

cancellationToken
CancellationToken

CancellationToken 읽기 작업을 취소하는 데 사용할 수 있는 항목입니다.

반품

IAsyncEnumerable<T> 제공된 JSON 시퀀스의 표현입니다.

예외

utf8Json 또는 jsonTypeInfo .입니다 null.

설명

topLevelValues 설정true되면 스트림을 공백으로 구분된 최상위 JSON 값의 시퀀스로 처리하고 각 값을 TValue역직렬화하려고 합니다.

로 설정false되면 topLevelValues 스트림을 JSON 배열로 처리하고 각 요소를 .로 TValueserialize하려고 시도합니다.

적용 대상

DeserializeAsyncEnumerable<TValue>(Stream, Boolean, JsonSerializerOptions, CancellationToken)

Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs

UTF-8로 인코딩된 텍스트를 스트리밍 방식으로 JSON 값 시퀀스를 역직렬화하는 데 사용할 수 있는 텍스트로 IAsyncEnumerable<T> 래핑합니다.

[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
public static System.Collections.Generic.IAsyncEnumerable<TValue?> DeserializeAsyncEnumerable<TValue>(System.IO.Stream utf8Json, bool topLevelValues, System.Text.Json.JsonSerializerOptions? options = default, System.Threading.CancellationToken cancellationToken = default);
public static System.Collections.Generic.IAsyncEnumerable<TValue?> DeserializeAsyncEnumerable<TValue>(System.IO.Stream utf8Json, bool topLevelValues, System.Text.Json.JsonSerializerOptions? options = default, System.Threading.CancellationToken cancellationToken = default);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")>]
static member DeserializeAsyncEnumerable : System.IO.Stream * bool * System.Text.Json.JsonSerializerOptions * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Value>
static member DeserializeAsyncEnumerable : System.IO.Stream * bool * System.Text.Json.JsonSerializerOptions * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Value>
Public Function DeserializeAsyncEnumerable(Of TValue) (utf8Json As Stream, topLevelValues As Boolean, Optional options As JsonSerializerOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of TValue)

형식 매개 변수

TValue

비동기적으로 역직렬화할 요소 형식입니다.

매개 변수

utf8Json
Stream

구문 분석할 JSON 데이터입니다.

topLevelValues
Boolean

true 최상위 JSON 값 시퀀스에서 역직렬화하거나 false 단일 최상위 배열에서 역직렬화합니다.

options
JsonSerializerOptions

읽는 동안 동작을 제어하는 옵션입니다.

cancellationToken
CancellationToken

CancellationToken 읽기 작업을 취소하는 데 사용할 수 있는 항목입니다.

반품

IAsyncEnumerable<T> 제공된 JSON 시퀀스의 표현입니다.

특성

예외

utf8Jsonnull입니다.

설명

topLevelValues 설정true되면 스트림을 공백으로 구분된 최상위 JSON 값의 시퀀스로 처리하고 각 값을 TValue역직렬화하려고 합니다.

로 설정false되면 topLevelValues 스트림을 JSON 배열로 처리하고 각 요소를 .로 TValueserialize하려고 시도합니다.

적용 대상

DeserializeAsyncEnumerable<TValue>(PipeReader, Boolean, JsonSerializerOptions, CancellationToken)

Source:
JsonSerializer.Read.Pipe.cs
Source:
JsonSerializer.Read.Pipe.cs
Source:
JsonSerializer.Read.Pipe.cs

UTF-8로 인코딩된 텍스트를 스트리밍 방식으로 JSON 값 시퀀스를 역직렬화하는 데 사용할 수 있는 텍스트로 IAsyncEnumerable<T> 래핑합니다.

[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
public static System.Collections.Generic.IAsyncEnumerable<TValue?> DeserializeAsyncEnumerable<TValue>(System.IO.Pipelines.PipeReader utf8Json, bool topLevelValues, System.Text.Json.JsonSerializerOptions? options = default, System.Threading.CancellationToken cancellationToken = default);
public static System.Collections.Generic.IAsyncEnumerable<TValue?> DeserializeAsyncEnumerable<TValue>(System.IO.Pipelines.PipeReader utf8Json, bool topLevelValues, System.Text.Json.JsonSerializerOptions? options = default, System.Threading.CancellationToken cancellationToken = default);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")>]
static member DeserializeAsyncEnumerable : System.IO.Pipelines.PipeReader * bool * System.Text.Json.JsonSerializerOptions * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Value>
static member DeserializeAsyncEnumerable : System.IO.Pipelines.PipeReader * bool * System.Text.Json.JsonSerializerOptions * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Value>
Public Function DeserializeAsyncEnumerable(Of TValue) (utf8Json As PipeReader, topLevelValues As Boolean, Optional options As JsonSerializerOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of TValue)

형식 매개 변수

TValue

비동기적으로 역직렬화할 요소 형식입니다.

매개 변수

utf8Json
PipeReader

구문 분석할 JSON 데이터입니다.

topLevelValues
Boolean

true 최상위 JSON 값 시퀀스에서 역직렬화하거나 false 단일 최상위 배열에서 역직렬화합니다.

options
JsonSerializerOptions

읽는 동안 동작을 제어하는 옵션입니다.

cancellationToken
CancellationToken

CancellationToken 읽기 작업을 취소하는 데 사용할 수 있는 항목입니다.

반품

IAsyncEnumerable<T> 제공된 JSON 시퀀스의 표현입니다.

특성

예외

utf8Jsonnull입니다.

설명

설정true되면 topLevelValues PipeReader를 공백으로 구분된 최상위 JSON 값의 시퀀스로 처리하고 각 값을 TValue역직렬화하려고 시도합니다.

topLevelValues 설정false되면 PipeReader를 JSON 배열로 처리하고 각 요소를 .로 TValue직렬화하려고 시도합니다.

적용 대상

DeserializeAsyncEnumerable<TValue>(PipeReader, JsonTypeInfo<TValue>, CancellationToken)

Source:
JsonSerializer.Read.Pipe.cs
Source:
JsonSerializer.Read.Pipe.cs
Source:
JsonSerializer.Read.Pipe.cs

UTF-8로 인코딩된 텍스트를 스트리밍 방식으로 루트 수준 JSON 배열을 역직렬화하는 데 사용할 수 있는 텍스트로 IAsyncEnumerable<T> 래핑합니다.

public static System.Collections.Generic.IAsyncEnumerable<TValue?> DeserializeAsyncEnumerable<TValue>(System.IO.Pipelines.PipeReader utf8Json, System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue> jsonTypeInfo, System.Threading.CancellationToken cancellationToken = default);
static member DeserializeAsyncEnumerable : System.IO.Pipelines.PipeReader * System.Text.Json.Serialization.Metadata.JsonTypeInfo<'Value> * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Value>
Public Function DeserializeAsyncEnumerable(Of TValue) (utf8Json As PipeReader, jsonTypeInfo As JsonTypeInfo(Of TValue), Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of TValue)

형식 매개 변수

TValue

비동기적으로 역직렬화할 요소 형식입니다.

매개 변수

utf8Json
PipeReader

구문 분석할 JSON 데이터입니다.

jsonTypeInfo
JsonTypeInfo<TValue>

변환할 요소 형식에 대한 메타데이터입니다.

cancellationToken
CancellationToken

CancellationToken 읽기 작업을 취소하는 데 사용할 수 있는 항목입니다.

반품

IAsyncEnumerable<T> 제공된 JSON 배열의 표현입니다.

예외

utf8Json 또는 jsonTypeInfo .입니다 null.

적용 대상

DeserializeAsyncEnumerable<TValue>(Stream, JsonSerializerOptions, CancellationToken)

Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs

UTF-8로 인코딩된 텍스트를 스트리밍 방식으로 루트 수준 JSON 배열을 역직렬화하는 데 사용할 수 있는 텍스트로 IAsyncEnumerable<T> 래핑합니다.

[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
public static System.Collections.Generic.IAsyncEnumerable<TValue?> DeserializeAsyncEnumerable<TValue>(System.IO.Stream utf8Json, System.Text.Json.JsonSerializerOptions? options = default, System.Threading.CancellationToken cancellationToken = default);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
public static System.Collections.Generic.IAsyncEnumerable<TValue?> DeserializeAsyncEnumerable<TValue>(System.IO.Stream utf8Json, System.Text.Json.JsonSerializerOptions? options = default, System.Threading.CancellationToken cancellationToken = default);
public static System.Collections.Generic.IAsyncEnumerable<TValue?> DeserializeAsyncEnumerable<TValue>(System.IO.Stream utf8Json, System.Text.Json.JsonSerializerOptions? options = default, System.Threading.CancellationToken cancellationToken = default);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")>]
static member DeserializeAsyncEnumerable : System.IO.Stream * System.Text.Json.JsonSerializerOptions * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Value>
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")>]
static member DeserializeAsyncEnumerable : System.IO.Stream * System.Text.Json.JsonSerializerOptions * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Value>
static member DeserializeAsyncEnumerable : System.IO.Stream * System.Text.Json.JsonSerializerOptions * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Value>
Public Function DeserializeAsyncEnumerable(Of TValue) (utf8Json As Stream, Optional options As JsonSerializerOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of TValue)

형식 매개 변수

TValue

비동기적으로 역직렬화할 요소 형식입니다.

매개 변수

utf8Json
Stream

구문 분석할 JSON 데이터입니다.

options
JsonSerializerOptions

읽는 동안 동작을 제어하는 옵션입니다.

cancellationToken
CancellationToken

CancellationToken 읽기 작업을 취소하는 데 사용할 수 있는 항목입니다.

반품

IAsyncEnumerable<T> 제공된 JSON 배열의 표현입니다.

특성

예외

utf8Jsonnull입니다.

취소 토큰이 취소되었습니다. 이 예외는 반환된 작업에 저장됩니다.

적용 대상

DeserializeAsyncEnumerable<TValue>(Stream, JsonTypeInfo<TValue>, CancellationToken)

Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs
Source:
JsonSerializer.Read.Stream.cs

UTF-8로 인코딩된 텍스트를 스트리밍 방식으로 루트 수준 JSON 배열을 역직렬화하는 데 사용할 수 있는 텍스트로 IAsyncEnumerable<T> 래핑합니다.

public static System.Collections.Generic.IAsyncEnumerable<TValue?> DeserializeAsyncEnumerable<TValue>(System.IO.Stream utf8Json, System.Text.Json.Serialization.Metadata.JsonTypeInfo<TValue> jsonTypeInfo, System.Threading.CancellationToken cancellationToken = default);
static member DeserializeAsyncEnumerable : System.IO.Stream * System.Text.Json.Serialization.Metadata.JsonTypeInfo<'Value> * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Value>
Public Function DeserializeAsyncEnumerable(Of TValue) (utf8Json As Stream, jsonTypeInfo As JsonTypeInfo(Of TValue), Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of TValue)

형식 매개 변수

TValue

비동기적으로 역직렬화할 요소 형식입니다.

매개 변수

utf8Json
Stream

구문 분석할 JSON 데이터입니다.

jsonTypeInfo
JsonTypeInfo<TValue>

변환할 요소 형식에 대한 메타데이터입니다.

cancellationToken
CancellationToken

CancellationToken 읽기 작업을 취소하는 데 사용할 수 있는 항목입니다.

반품

IAsyncEnumerable<T> 제공된 JSON 배열의 표현입니다.

예외

utf8Json 또는 jsonTypeInfo .입니다 null.

취소 토큰이 취소되었습니다. 이 예외는 반환된 작업에 저장됩니다.

적용 대상

DeserializeAsyncEnumerable<TValue>(PipeReader, JsonSerializerOptions, CancellationToken)

Source:
JsonSerializer.Read.Pipe.cs
Source:
JsonSerializer.Read.Pipe.cs
Source:
JsonSerializer.Read.Pipe.cs

UTF-8로 인코딩된 텍스트를 스트리밍 방식으로 루트 수준 JSON 배열을 역직렬화하는 데 사용할 수 있는 텍스트로 IAsyncEnumerable<T> 래핑합니다.

[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
public static System.Collections.Generic.IAsyncEnumerable<TValue?> DeserializeAsyncEnumerable<TValue>(System.IO.Pipelines.PipeReader utf8Json, System.Text.Json.JsonSerializerOptions? options = default, System.Threading.CancellationToken cancellationToken = default);
public static System.Collections.Generic.IAsyncEnumerable<TValue?> DeserializeAsyncEnumerable<TValue>(System.IO.Pipelines.PipeReader utf8Json, System.Text.Json.JsonSerializerOptions? options = default, System.Threading.CancellationToken cancellationToken = default);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")>]
static member DeserializeAsyncEnumerable : System.IO.Pipelines.PipeReader * System.Text.Json.JsonSerializerOptions * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Value>
static member DeserializeAsyncEnumerable : System.IO.Pipelines.PipeReader * System.Text.Json.JsonSerializerOptions * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Value>
Public Function DeserializeAsyncEnumerable(Of TValue) (utf8Json As PipeReader, Optional options As JsonSerializerOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of TValue)

형식 매개 변수

TValue

비동기적으로 역직렬화할 요소 형식입니다.

매개 변수

utf8Json
PipeReader

구문 분석할 JSON 데이터입니다.

options
JsonSerializerOptions

읽는 동안 동작을 제어하는 옵션입니다.

cancellationToken
CancellationToken

CancellationToken 읽기 작업을 취소하는 데 사용할 수 있는 항목입니다.

반품

IAsyncEnumerable<T> 제공된 JSON 배열의 표현입니다.

특성

예외

utf8Jsonnull입니다.

적용 대상