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