2 references to CreateOrGetSupportedEncoding
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (2)
src\Mvc\Mvc.Core\test\Formatters\JsonOutputFormatterTestBase.cs (2)
86var encoding = CreateOrGetSupportedEncoding(formatter, encodingAsString, isDefaultEncoding); 118var encoding = CreateOrGetSupportedEncoding(formatter, "utf-8", isDefaultEncoding: true);