18 instantiations of JsonStringEnumConverter
aspire-managed (2)
AppHostServerV2CodeGenerationInput.cs (1)
30options.Converters.Add(new JsonStringEnumConverter());
src\Shared\NativeProviderContractReader.cs (1)
104Converters = { new JsonStringEnumConverter() }
Aspire.Hosting (1)
ResourceBuilderExtensions.cs (1)
49Converters = { new JsonStringEnumConverter(), new TimeSpanMillisecondsJsonConverter() },
Aspire.Hosting.DevTunnels (1)
DevTunnelCliClient.cs (1)
16private readonly JsonSerializerOptions _jsonOptions = new(JsonSerializerDefaults.Web) { Converters = { new JsonStringEnumConverter() } };
Aspire.Hosting.Native.CodeGeneration (2)
src\Aspire.Hosting.RemoteHost\AtsCapabilityScanner.cs (1)
3443Converters = { new JsonStringEnumConverter() },
src\Shared\NativeProviderContractReader.cs (1)
104Converters = { new JsonStringEnumConverter() }
Aspire.Hosting.RemoteHost (3)
Ats\AtsMarshaller.cs (1)
65new JsonStringEnumConverter(),
Ats\ExternalCapabilityRegistry.cs (1)
48s_jsonOptions.Converters.Add(new JsonStringEnumConverter());
AtsCapabilityScanner.cs (1)
3443Converters = { new JsonStringEnumConverter() },
Aspire.Hosting.Yarp (1)
YarpJsonConfigGeneratorBuilder.cs (1)
27_serializerOptions.Converters.Add(new JsonStringEnumConverter(new PascalCaseJsonNamingPolicy()));
Microsoft.CodeAnalysis.Features (1)
Intents\IntentDataProvider.cs (1)
21serializerOptions.Converters.Add(new JsonStringEnumConverter());
Microsoft.DotNet.HotReload.Watch (1)
src\sdk\src\Dotnet.Watch\AspireService\AspireServerService.cs (1)
71new JsonStringEnumConverter(JsonNamingPolicy.CamelCase, allowIntegerValues: false)
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Defaults.cs (1)
56options.Converters.Add(new JsonStringEnumConverter());
Microsoft.ML.AutoML.Tests (4)
AutoFeaturizerTests.cs (1)
31new JsonStringEnumConverter(), new DoubleToDecimalConverter(), new FloatToDecimalConverter(),
SweepableEstimatorPipelineTest.cs (1)
33new JsonStringEnumConverter(), new DoubleToDecimalConverter(), new FloatToDecimalConverter(),
SweepableExtensionTest.cs (1)
33new JsonStringEnumConverter(), new DoubleToDecimalConverter(), new FloatToDecimalConverter(),
SweepablePipelineTests.cs (1)
31new JsonStringEnumConverter(), new DoubleToDecimalConverter(), new FloatToDecimalConverter(),
Microsoft.ML.SearchSpace (1)
Parameter.cs (1)
77_settings.Converters.Add(new JsonStringEnumConverter());
4 references to JsonStringEnumConverter
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Defaults.cs (1)
29/// <item>Enables string based enum serialization as implemented by <see cref="JsonStringEnumConverter"/>.</item>
System.Text.Json (3)
parent\Common\JsonSourceGenerationOptionsAttribute.cs (1)
176/// Instructs the source generator to default to <see cref="JsonStringEnumConverter"/>
System\Text\Json\Serialization\JsonStringEnumConverter.cs (2)
23/// Constructor. Creates the <see cref="JsonStringEnumConverter"/> with the 79/// Constructor. Creates the <see cref="JsonStringEnumConverter"/> with the