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