6 references to Json
Aspire.Dashboard.Tests (2)
Integration\MockOpenIdAuthority.cs (2)
49
return Results.
Json
(new
86
return Results.
Json
(new
Microsoft.AspNetCore.Http.Results (1)
Results.cs (1)
186
=>
Json
<object>(data, options, contentType, statusCode);
Microsoft.AspNetCore.Http.Results.Tests (1)
ResultsTests.cs (1)
958
var result = Results.
Json
(data, options, contentType, statusCode) as JsonHttpResult<Todo>;
Nats.ApiService (1)
Program.cs (1)
26
return Results.
Json
(new { rtt, nats.ServerInfo });
SimpleWebSiteWithWebApplicationBuilder (1)
Program.cs (1)
24
app.MapGet("/json", () =>
Json
(new Person("John", 42)));