11 writes to Encoder
ConfigurationSchemaGenerator (1)
ConfigSchemaEmitter.cs (1)
31Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping
Microsoft.AspNetCore.Components.Endpoints (1)
Assets\ImportMapSerializerContext.cs (1)
18Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping,
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Json\JsonConverterHelper.cs (1)
48Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping,
Microsoft.AspNetCore.Http.Extensions (1)
JsonOptions.cs (1)
22Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping,
Microsoft.AspNetCore.Mvc.Core (1)
Formatters\SystemTextJsonOutputFormatter.cs (1)
44Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping,
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
SystemTextJsonOutputFormatterTest.cs (1)
34.AddJsonOptions(o => o.JsonSerializerOptions.Encoder = JavaScriptEncoder.Default);
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Rendering\SystemTextJsonHelper.cs (1)
38Encoder = JavaScriptEncoder.Default,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Rendering\SystemTextJsonHelperTest.cs (1)
66Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping,
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Internal\Protocol\JsonHubProtocolTests.cs (1)
34Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping,
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Protocol\JsonHubProtocol.cs (1)
937Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping,
Microsoft.ML.AutoML.Tests (1)
SweepableExtensionTest.cs (1)
38_jsonSerializerOptions.Encoder = System.Text.Encodings.Web.JavaScriptEncoder.UnsafeRelaxedJsonEscaping;
10 references to Encoder
Microsoft.AspNetCore.Mvc.Core (1)
Formatters\SystemTextJsonOutputFormatter.cs (1)
39if (jsonSerializerOptions.Encoder is null)
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Rendering\SystemTextJsonHelper.cs (2)
31if (serializerOptions.Encoder is null || serializerOptions.Encoder == JavaScriptEncoder.Default)
System.Text.Json (7)
System\Text\Json\Serialization\Converters\Value\EnumConverter.cs (3)
68JavaScriptEncoder? encoder = options.Encoder; 151formatted = JsonEncodedText.Encode(stringValue, options.Encoder); 212formatted = JsonEncodedText.Encode(stringValue, options.Encoder);
System\Text\Json\Serialization\JsonSerializerContext.cs (1)
62options.Encoder is null &&
System\Text\Json\Serialization\JsonSerializerOptions.cs (1)
1054Encoder = Encoder,
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
491EscapedNameSection = JsonHelpers.GetEscapedPropertyNameSection(NameAsUtf8Bytes, Options.Encoder);
System\Text\Json\Serialization\Metadata\PolymorphicTypeResolver.cs (1)
92CustomTypeDiscriminatorPropertyNameJsonEncoded = JsonEncodedText.Encode(propertyName, options.Encoder);