21 writes to PropertyNamingPolicy
Aspire.Dashboard (1)
Model\BrowserStorage\LocalBrowserStorage.cs (1)
14PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
BasicTestApp (1)
TestJsonSerializerOptionsProvider.cs (1)
12PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
Microsoft.AspNetCore.Components (1)
src\Components\Shared\src\JsonSerializerOptionsProvider.cs (1)
12PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
Microsoft.AspNetCore.Components.Endpoints (3)
Assets\ImportMapSerializerContext.cs (1)
20PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
src\Shared\Components\ServerComponentSerializationSettings.cs (1)
16PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
src\Shared\Components\WebAssemblyComponentSerializationSettings.cs (1)
14PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
Microsoft.AspNetCore.Components.Server (2)
src\Components\Shared\src\JsonSerializerOptionsProvider.cs (1)
12PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
src\Shared\Components\ServerComponentSerializationSettings.cs (1)
16PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
Microsoft.AspNetCore.Components.WebAssembly (2)
src\Components\Shared\src\JsonSerializerOptionsProvider.cs (1)
12PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
src\Shared\Components\WebAssemblyComponentSerializationSettings.cs (1)
14PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
TargetPickerUi.cs (1)
24PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
Microsoft.AspNetCore.Components.WebView (1)
src\Components\Shared\src\JsonSerializerOptionsProvider.cs (1)
12PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
Microsoft.AspNetCore.Identity.FunctionalTests (1)
MapIdentityApiTests.cs (1)
137options.SerializerOptions.PropertyNamingPolicy = JsonNamingPolicy.SnakeCaseLower;
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
TestJsonSerializationOptionsProvider.cs (1)
12PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Rendering\SystemTextJsonHelperTest.cs (1)
67PropertyNamingPolicy = null,
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Internal\Protocol\JsonHubProtocolTests.cs (1)
33PropertyNamingPolicy = useCamelCase ? JsonNamingPolicy.CamelCase : null,
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Protocol\JsonHubProtocol.cs (1)
932PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
Microsoft.CodeAnalysis.Features (1)
Intents\IntentDataProvider.cs (1)
19PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
Microsoft.JSInterop (1)
JSRuntime.cs (1)
34PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
SignalR.Client.FunctionalTestApp (1)
Startup.cs (1)
41options.PayloadSerializerOptions.PropertyNamingPolicy = null;
Wasm.Performance.Driver (1)
BenchmarkResultsStartup.cs (1)
24PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
8 references to PropertyNamingPolicy
System.Text.Json (8)
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
109/// Specifies the default value of <see cref="JsonSerializerOptions.PropertyNamingPolicy"/> when set.
System\Text\Json\Serialization\JsonSerializerContext.cs (2)
77options.PropertyNamingPolicy == generatedSerializerOptions.PropertyNamingPolicy &&
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (2)
384else if (propertyInfo.Options.PropertyNamingPolicy != null) 386name = propertyInfo.Options.PropertyNamingPolicy.ConvertName(memberInfo.Name);
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (2)
216else if (propertyInfo.Options.PropertyNamingPolicy == null) 222name = propertyInfo.Options.PropertyNamingPolicy.ConvertName(declaredPropertyName);
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
786/// the value typically reflects the underlying .NET member name, the name derived from <see cref="JsonSerializerOptions.PropertyNamingPolicy" />,