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