17 references to DeserializeAsync
AzureSearch.ApiService (1)
Program.cs (1)
149var hotels = await JsonSerializer.DeserializeAsync<List<Hotel>>(openStream, cancellationToken: cancellationToken);
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (6)
UserJwtsTests.cs (6)
300var secretsJson = await JsonSerializer.DeserializeAsync<JsonObject>(openStream); 519var secretsJson = await JsonSerializer.DeserializeAsync<JsonObject>(openStream); 547var secretsJson = await JsonSerializer.DeserializeAsync<JsonObject>(openStream); 586var secretsJson = await JsonSerializer.DeserializeAsync<JsonObject>(openStream); 608var secretsJson = await JsonSerializer.DeserializeAsync<JsonObject>(openStream); 630var secretsJson = await JsonSerializer.DeserializeAsync<JsonObject>(openStream);
Microsoft.AspNetCore.Http.Extensions (2)
HttpRequestJsonExtensions.cs (2)
84deserializeTask = JsonSerializer.DeserializeAsync<TValue>(request.Body, options, cancellationToken); 94deserializeTask = JsonSerializer.DeserializeAsync<TValue>(inputStream, options, cancellationToken);
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\SharedTypes.cs (1)
92var body = await JsonSerializer.DeserializeAsync<JsonTodo>(context.Request.Body);
Microsoft.AspNetCore.Mvc.Core.Test (3)
Infrastructure\DefaultApiProblemDetailsWriterTest.cs (3)
45var problemDetails = await JsonSerializer.DeserializeAsync<ProblemDetails>(stream, JsonSerializerOptions.Web); 84var problemDetails = await JsonSerializer.DeserializeAsync<ProblemDetails>(stream, JsonSerializerOptions.Web); 115var problemDetails = await JsonSerializer.DeserializeAsync<ProblemDetails>(stream);
Microsoft.DotNet.Internal.SymbolHelper (1)
SymbolPromotionHelper.cs (1)
218return await JsonSerializer.DeserializeAsync<SymbolRequestStatus>(result, s_options, cancellationToken: ct);
System.Net.Http.Json (2)
System\Net\Http\Json\HttpClientJsonExtensions.cs (1)
25FromJsonAsyncCore(getMethod, client, requestUri, static (stream, options, cancellation) => JsonSerializer.DeserializeAsync<TValue>(stream, options ?? JsonSerializerOptions.Web, cancellation), options, cancellationToken);
System\Net\Http\Json\HttpContentJsonExtensions.cs (1)
98return await JsonSerializer.DeserializeAsync<T>(contentStream, options ?? JsonSerializerOptions.Web, cancellationToken).ConfigureAwait(false);
Wasm.Performance.Driver (1)
BenchmarkResultsStartup.cs (1)
22var result = await JsonSerializer.DeserializeAsync<BenchmarkResult>(context.Request.Body, new JsonSerializerOptions