2 references to Json
Microsoft.AspNetCore.Http.Results.Tests (2)
ResultsTests.cs (2)
984
var result = Results.
Json
(null, StringJsonContext.Default.String as JsonTypeInfo) as JsonHttpResult<object>;
1065
Assert.Throws<ArgumentNullException>("jsonTypeInfo", () => Results.
Json
(null, jsonTypeInfo: null));