Store JSON documents as compact in database

pull/1755/head
Bogdan 10 months ago
parent 6be0e08635
commit 93a2019f44

@ -17,7 +17,7 @@ namespace NzbDrone.Core.Datastore.Converters
AllowTrailingCommas = true,
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
PropertyNameCaseInsensitive = true,
WriteIndented = true
WriteIndented = false
};
SerializerSettings = serializerSettings;

@ -19,7 +19,7 @@ namespace NzbDrone.Core.Datastore.Converters
PropertyNameCaseInsensitive = true,
DictionaryKeyPolicy = JsonNamingPolicy.CamelCase,
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
WriteIndented = true
WriteIndented = false
};
serializerSettings.Converters.Add(new JsonStringEnumConverter(JsonNamingPolicy.CamelCase, true));

@ -25,7 +25,7 @@ namespace NzbDrone.Core.ThingiProvider
PropertyNameCaseInsensitive = true,
DictionaryKeyPolicy = JsonNamingPolicy.CamelCase,
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
WriteIndented = true
WriteIndented = false
};
serializerSettings.Converters.Add(new JsonStringEnumConverter(JsonNamingPolicy.CamelCase, true));

Loading…
Cancel
Save