34 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)
210var secretsJson = await JsonSerializer.DeserializeAsync<JsonObject>(openStream); 429var secretsJson = await JsonSerializer.DeserializeAsync<JsonObject>(openStream); 457var secretsJson = await JsonSerializer.DeserializeAsync<JsonObject>(openStream); 496var secretsJson = await JsonSerializer.DeserializeAsync<JsonObject>(openStream); 518var secretsJson = await JsonSerializer.DeserializeAsync<JsonObject>(openStream); 540var secretsJson = await JsonSerializer.DeserializeAsync<JsonObject>(openStream);
Microsoft.AspNetCore.Http.Extensions (1)
HttpRequestJsonExtensions.cs (1)
75return await JsonSerializer.DeserializeAsync<TValue>(inputStream, options, cancellationToken);
Microsoft.AspNetCore.Http.Extensions.Tests (18)
ProblemDetailsDefaultWriterTest.cs (16)
49var problemDetails = await JsonSerializer.DeserializeAsync<ProblemDetails>(stream, SerializerOptions); 87var result = await JsonSerializer.DeserializeAsync<Dictionary<string, object>>(stream, JsonSerializerOptions.Default); 119var result = await JsonSerializer.DeserializeAsync<Dictionary<string, object>>(stream, JsonSerializerOptions.Default); 154var problemDetails = await JsonSerializer.DeserializeAsync<ProblemDetails>(stream, SerializerOptions); 194var problemDetails = await JsonSerializer.DeserializeAsync<ProblemDetails>(stream, SerializerOptions); 234var problemDetails = await JsonSerializer.DeserializeAsync<ProblemDetails>(stream, SerializerOptions); 273var problemDetails = await JsonSerializer.DeserializeAsync<HttpValidationProblemDetails>(stream, SerializerOptions); 316var problemDetails = await JsonSerializer.DeserializeAsync<HttpValidationProblemDetails>(stream, SerializerOptions); 359var problemDetails = await JsonSerializer.DeserializeAsync<CustomProblemDetails>(stream, options.SerializerOptions); 402var problemDetails = await JsonSerializer.DeserializeAsync<CustomProblemDetails>(stream, options.SerializerOptions); 445var problemDetails = await JsonSerializer.DeserializeAsync<CustomProblemDetails>(stream, options.SerializerOptions); 479var problemDetails = await JsonSerializer.DeserializeAsync<ProblemDetails>(stream, SerializerOptions); 526var problemDetails = await JsonSerializer.DeserializeAsync<ProblemDetails>(stream, options.SerializerOptions); 559var problemDetails = await JsonSerializer.DeserializeAsync<ProblemDetails>(stream, SerializerOptions); 595var problemDetails = await JsonSerializer.DeserializeAsync<ProblemDetails>(stream, SerializerOptions); 627var problemDetails = await JsonSerializer.DeserializeAsync<ProblemDetails>(stream, SerializerOptions);
RequestDelegateFactoryTests.cs (1)
3545var body = await JsonSerializer.DeserializeAsync<JsonTodo>(context.Request.Body);
RequestDelegateGenerator\SharedTypes.cs (1)
92var body = await JsonSerializer.DeserializeAsync<JsonTodo>(context.Request.Body);
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)
104return 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