8 references to DeserializeAsync
Microsoft.AspNetCore.Grpc.JsonTranscoding (2)
Internal\JsonRequestHelpers.cs (2)
233bodyContent = (await JsonSerializer.DeserializeAsync(stream, type, serializerOptions))!; 245bodyContent = (IMessage)(await JsonSerializer.DeserializeAsync(stream, serverCallContext.DescriptorInfo.BodyDescriptor.ClrType, serializerOptions))!;
Microsoft.AspNetCore.Http.Extensions (2)
HttpRequestJsonExtensions.cs (2)
276deserializeTask = JsonSerializer.DeserializeAsync(request.Body, type, options, cancellationToken); 286deserializeTask = JsonSerializer.DeserializeAsync(inputStream, type, options, cancellationToken);
Microsoft.AspNetCore.Mvc.Core (2)
Formatters\SystemTextJsonInputFormatter.cs (2)
75model = await JsonSerializer.DeserializeAsync(httpContext.Request.Body, context.ModelType, SerializerOptions); 85model = await JsonSerializer.DeserializeAsync(inputStream, context.ModelType, SerializerOptions);
System.Net.Http.Json (2)
System\Net\Http\Json\HttpClientJsonExtensions.cs (1)
20FromJsonAsyncCore(getMethod, client, requestUri, static (stream, options, cancellation) => JsonSerializer.DeserializeAsync(stream, options.type, options.options ?? JsonSerializerOptions.Web, cancellation), (type, options), cancellationToken);
System\Net\Http\Json\HttpContentJsonExtensions.cs (1)
88return await JsonSerializer.DeserializeAsync(contentStream, type, options ?? JsonSerializerOptions.Web, cancellationToken).ConfigureAwait(false);