This commit is contained in:
rafael-aero
2022-03-25 10:30:51 +01:00
parent 9c89711d59
commit e643d0db08
3 changed files with 17 additions and 5 deletions

View File

@@ -533,11 +533,7 @@ namespace ElectronNET.API
{
public CamelCaseNewtonsoftJsonSerializer() : base()
{
}
public override JsonSerializerSettings CreateOptions()
{
return new JsonSerializerSettings()
OptionsProvider = () => new JsonSerializerSettings()
{
ContractResolver = new CamelCasePropertyNamesContractResolver(),
NullValueHandling = NullValueHandling.Ignore,