Skip to content

Commit

Permalink
Rename JsonCamelCaseNamePolicy -> JsonCamelCaseNamingPolicy (dotnet/c…
Browse files Browse the repository at this point in the history
  • Loading branch information
Marusyk authored and stephentoub committed Jul 8, 2019
1 parent 407b962 commit 7460ab5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/libraries/System.Text.Json/src/System.Text.Json.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<Compile Include="System\Text\Json\Serialization\Converters\JsonValueConverterUInt64.cs" />
<Compile Include="System\Text\Json\Serialization\Converters\JsonValueConverterUri.cs" />
<Compile Include="System\Text\Json\Serialization\JsonAttribute.cs" />
<Compile Include="System\Text\Json\Serialization\JsonCamelCaseNamePolicy.cs" />
<Compile Include="System\Text\Json\Serialization\JsonCamelCaseNamingPolicy.cs" />
<Compile Include="System\Text\Json\Serialization\JsonClassInfo.cs" />
<Compile Include="System\Text\Json\Serialization\JsonClassInfo.AddProperty.cs" />
<Compile Include="System\Text\Json\Serialization\JsonConverter.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace System.Text.Json
{
internal sealed class JsonCamelCaseNamePolicy : JsonNamingPolicy
internal sealed class JsonCamelCaseNamingPolicy : JsonNamingPolicy
{
public override string ConvertName(string name)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ protected JsonNamingPolicy() { }
/// <summary>
/// Returns the naming policy for camel-casing.
/// </summary>
public static JsonNamingPolicy CamelCase { get; } = new JsonCamelCaseNamePolicy();
public static JsonNamingPolicy CamelCase { get; } = new JsonCamelCaseNamingPolicy();

internal static JsonNamingPolicy Default { get; } = new JsonDefaultNamingPolicy();

Expand Down

0 comments on commit 7460ab5

Please sign in to comment.