2 references to SerializeToElement
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
WebRootComponentParametersTest.cs (1)
179
var jsonElement = JsonSerializer.
SerializeToElement
(parameterValues[i]);
Microsoft.AspNetCore.Http.Extensions.Tests (1)
ProblemDetailsDefaultWriterTest.cs (1)
533
var expectedExtension = JsonSerializer.
SerializeToElement
(customExtensionData, options.SerializerOptions);