Skip to content

Commit

Permalink
Change NullValueHandling to Include feinoujc#113
Browse files Browse the repository at this point in the history
  • Loading branch information
richardszalay committed May 5, 2020
1 parent 8aacf67 commit 87c0fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mandrill.net/Serialization/MandrillSerializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ private static JsonSerializer CreateSerializer()

settings.Converters.Add(new UnixDateTimeConverter());
settings.Converters.Add(new StringEnumConverter { NamingStrategy = new SnakeCaseNamingStrategy(), AllowIntegerValues = false });
settings.NullValueHandling = NullValueHandling.Ignore;
settings.NullValueHandling = NullValueHandling.Include;
settings.DateTimeZoneHandling = DateTimeZoneHandling.Utc;
return JsonSerializer.Create(settings);
}
Expand Down

0 comments on commit 87c0fbf

Please sign in to comment.