5 references to HttpResponseJsonExtensions
Microsoft.AspNetCore.Http.Extensions (3)
JsonOptions.cs (1)
12
/// and <see cref="
HttpResponseJsonExtensions
"/>.
RequestDelegateFactory.cs (1)
2608
=>
HttpResponseJsonExtensions
.WriteAsJsonAsync(response, value, jsonTypeInfo, default);
src\Shared\RouteHandlers\ExecuteHandlerHelper.cs (1)
47
return
HttpResponseJsonExtensions
.WriteAsJsonAsync(response, value!, jsonTypeInfo, default);
Microsoft.AspNetCore.Http.Extensions.Tests (1)
HttpResponseJsonExtensionsTests.cs (1)
219
await Assert.ThrowsAsync<ArgumentNullException>(async () => await
HttpResponseJsonExtensions
.WriteAsJsonAsync(response: null!, value: null, typeof(int?)));
Microsoft.AspNetCore.Routing (1)
src\Shared\RouteHandlers\ExecuteHandlerHelper.cs (1)
47
return
HttpResponseJsonExtensions
.WriteAsJsonAsync(response, value!, jsonTypeInfo, default);