3 references to ReadFromJsonAsync
Microsoft.AspNetCore.Http.Extensions (2)
HttpRequestJsonExtensions.cs (1)
178return request.ReadFromJsonAsync(jsonTypeInfo: options.GetTypeInfo(type), cancellationToken);
RequestDelegateFactory.cs (1)
1395bodyValue = await httpContext.Request.ReadFromJsonAsync(jsonTypeInfo);
Microsoft.AspNetCore.Http.Extensions.Tests (1)
HttpRequestJsonExtensionsTests.cs (1)
245var result = (List<int>?)await context.Request.ReadFromJsonAsync(options.GetTypeInfo(typeof(List<int>)));