* re-namespace * optimize usings * more usings * more of the same * more implicit/global usings * cleanup all usings * minor fixes
16 lines
400 B
C#
16 lines
400 B
C#
using Newtonsoft.Json.Serialization;
|
|
|
|
namespace ErsatzTV.Serialization;
|
|
|
|
public class CustomNamingStrategy : CamelCaseNamingStrategy
|
|
{
|
|
protected override string ResolvePropertyName(string name)
|
|
{
|
|
if (name.Equals("FFmpegProfileId", StringComparison.OrdinalIgnoreCase))
|
|
{
|
|
return "ffmpegProfileId";
|
|
}
|
|
|
|
return base.ResolvePropertyName(name);
|
|
}
|
|
} |