4 references to WriteAsJsonAsync
Microsoft.AspNetCore.Http.Extensions (2)
HttpResponseJsonExtensions.cs (2)
42return response.WriteAsJsonAsync(value, options: null, contentType: null, cancellationToken); 63return response.WriteAsJsonAsync(value, options, contentType: null, cancellationToken);
Microsoft.AspNetCore.Http.Extensions.Tests (1)
HttpResponseJsonExtensionsTests.cs (1)
113await context.Response.WriteAsJsonAsync(1, options: null, contentType: "application/custom-type");
Microsoft.AspNetCore.Http.Results (1)
HttpResultsHelper.cs (1)
58return httpContext.Response.WriteAsJsonAsync<object>(