mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Fixed: Don't ignore default Boolean in db serialization
(cherry picked from commit 16b381720225b159d47a15e4beb50f8835940cda)
This commit is contained in:
parent
c1a6e1c39d
commit
de1968e5ba
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ namespace NzbDrone.Core.Datastore.Converters
|
||||||
var serializerSettings = new JsonSerializerOptions
|
var serializerSettings = new JsonSerializerOptions
|
||||||
{
|
{
|
||||||
AllowTrailingCommas = true,
|
AllowTrailingCommas = true,
|
||||||
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingDefault,
|
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
|
||||||
PropertyNameCaseInsensitive = true,
|
PropertyNameCaseInsensitive = true,
|
||||||
DictionaryKeyPolicy = JsonNamingPolicy.CamelCase,
|
DictionaryKeyPolicy = JsonNamingPolicy.CamelCase,
|
||||||
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
|
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
|
||||||
|
|
|
@ -22,7 +22,7 @@ namespace NzbDrone.Core.ThingiProvider
|
||||||
var serializerSettings = new JsonSerializerOptions
|
var serializerSettings = new JsonSerializerOptions
|
||||||
{
|
{
|
||||||
AllowTrailingCommas = true,
|
AllowTrailingCommas = true,
|
||||||
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingDefault,
|
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
|
||||||
PropertyNameCaseInsensitive = true,
|
PropertyNameCaseInsensitive = true,
|
||||||
DictionaryKeyPolicy = JsonNamingPolicy.CamelCase,
|
DictionaryKeyPolicy = JsonNamingPolicy.CamelCase,
|
||||||
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
|
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue