2 writes to DictionaryKeyPolicy
Microsoft.AspNetCore.Mvc.Core.Test (1)
Infrastructure\ValidationProblemDetailsJsonConverterTest.cs (1)
180
options.
DictionaryKeyPolicy
= JsonNamingPolicy.CamelCase;
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Protocol\JsonHubProtocol.cs (1)
935
DictionaryKeyPolicy
= 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)
196
JsonNamingPolicy? dictionaryKeyPolicy = options.
DictionaryKeyPolicy
is { } dkp && dkp != _namingPolicy ? dkp : null;
System\Text\Json\Serialization\Converters\Value\StringConverter.cs (3)
43
if (options.
DictionaryKeyPolicy
!= null && !isWritingExtensionDataProperty)
45
value = options.
DictionaryKeyPolicy
.ConvertName(value);
49
ThrowHelper.ThrowInvalidOperationException_NamingPolicyReturnNull(options.
DictionaryKeyPolicy
);
System\Text\Json\Serialization\JsonSerializerContext.cs (1)
78
options.
DictionaryKeyPolicy
is null;