5 writes to Converters
Microsoft.AspNetCore.Components.WebView (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
332Converters = { new OSBasedCaseConverter() }
Microsoft.AspNetCore.Hosting (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
332Converters = { new OSBasedCaseConverter() }
Microsoft.Build (1)
BuildCheck\Infrastructure\ConfigurationProvider.cs (1)
68var DeserializationOptions = new JsonSerializerOptions { Converters = { new JsonStringEnumConverter() } };
Microsoft.JSInterop (1)
JSRuntime.cs (1)
36Converters =
MonoTargetsTasks (1)
RuntimeConfigParser\RuntimeConfigParser.cs (1)
37Converters =
26 references to Converters
Microsoft.AspNetCore.Components.Server (1)
Circuits\RemoteJSRuntime.cs (1)
50JsonSerializerOptions.Converters.Add(new ElementReferenceJsonConverter(ElementReferenceContext));
Microsoft.AspNetCore.Components.Web (1)
src\Components\Shared\src\JsonSerialization\JsonConverterFactoryTypeInfoResolver.cs (1)
28foreach (var converter in options.Converters)
Microsoft.AspNetCore.Components.WebAssembly (1)
Services\DefaultWebAssemblyJSRuntime.cs (1)
37JsonSerializerOptions.Converters.Add(new ElementReferenceJsonConverter(ElementReferenceContext));
Microsoft.AspNetCore.Components.WebView (1)
Services\WebViewJSRuntime.cs (1)
19JsonSerializerOptions.Converters.Add(
Microsoft.AspNetCore.Grpc.JsonTranscoding (8)
Internal\Json\JsonConverterHelper.cs (8)
51options.Converters.Add(new NullValueConverter()); 52options.Converters.Add(new ByteStringConverter()); 53options.Converters.Add(new Int64Converter(context)); 54options.Converters.Add(new UInt64Converter(context)); 55options.Converters.Add(new BoolConverter()); 56options.Converters.Add(new JsonConverterFactoryForEnum(context)); 57options.Converters.Add(new JsonConverterFactoryForWrappers(context)); 58options.Converters.Add(new JsonConverterFactoryForWellKnownTypes(context));
Microsoft.AspNetCore.Http.Extensions.Tests (4)
HttpResponseJsonExtensionsTests.cs (1)
64options.Converters.Add(new IntegerConverter());
RequestDelegateFactoryTests.cs (1)
859jsonOptions.SerializerOptions.Converters.Add(new TodoJsonConverter());
RequestDelegateGenerator\RequestDelegateCreationTests.BindAsync.cs (2)
220jsonOptions.SerializerOptions.Converters.Add(new TodoJsonConverter()); 276jsonOptions.SerializerOptions.Converters.Add(new TodoJsonConverter());
Microsoft.JSInterop.Tests (3)
Infrastructure\DotNetStreamReferenceJsonConverterTest.cs (1)
16JsonSerializerOptions.Converters.Add(new DotNetStreamReferenceJsonConverter(JSRuntime));
Infrastructure\JSObjectReferenceJsonConverterTest.cs (1)
17JsonSerializerOptions.Converters.Add(new JSObjectReferenceJsonConverter(JSRuntime));
Infrastructure\JSStreamReferenceJsonConverterTest.cs (1)
17JsonSerializerOptions.Converters.Add(new JSStreamReferenceJsonConverter(JSRuntime));
Microsoft.JSInterop.WebAssembly (1)
WebAssemblyJSRuntime.cs (1)
22JsonSerializerOptions.Converters.Insert(0, new WebAssemblyJSObjectReferenceJsonConverter(this));
System.Text.Json (6)
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
54/// Specifies the default value of <see cref="JsonSerializerOptions.Converters"/> when set.
System\Text\Json\Serialization\Attributes\JsonConverterAttribute.cs (1)
15/// <see cref="JsonSerializerOptions.Converters"/> or there is another <see cref="JsonConverterAttribute"/> on a property or field
System\Text\Json\Serialization\JsonSerializerContext.cs (1)
61options.Converters.Count == 0 &&
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (3)
437/// User-defined custom converters (specified either via <see cref="JsonConverterAttribute"/> or <see cref="JsonSerializerOptions.Converters"/>) 869/// <see cref="JsonSerializerOptions.Converters"/> or the built-in converters for the type. 900/// <see cref="JsonSerializerOptions.Converters"/> or the built-in converters for the type.