mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
401 B
16 lines
401 B
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); |
|
} |
|
}
|
|
|