2 writes to DictionaryKeyPolicy
Microsoft.AspNetCore.Mvc.Core.Test (1)
Infrastructure\ValidationProblemDetailsJsonConverterTest.cs (1)
180options.DictionaryKeyPolicy = JsonNamingPolicy.CamelCase;
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Protocol\JsonHubProtocol.cs (1)
935DictionaryKeyPolicy = null,
6 references to DictionaryKeyPolicy
System.Text.Json (6)
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
69/// Specifies the default value of <see cref="JsonSerializerOptions.DictionaryKeyPolicy"/> when set.
System\Text\Json\Serialization\Converters\Value\EnumConverter.cs (1)
196JsonNamingPolicy? dictionaryKeyPolicy = options.DictionaryKeyPolicy is { } dkp && dkp != _namingPolicy ? dkp : null;
System\Text\Json\Serialization\Converters\Value\StringConverter.cs (3)
43if (options.DictionaryKeyPolicy != null && !isWritingExtensionDataProperty) 45value = options.DictionaryKeyPolicy.ConvertName(value); 49ThrowHelper.ThrowInvalidOperationException_NamingPolicyReturnNull(options.DictionaryKeyPolicy);
System\Text\Json\Serialization\JsonSerializerContext.cs (1)
78options.DictionaryKeyPolicy is null;