mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-01 06:16:30 +01:00
Ignore null json values
This commit is contained in:
@@ -24,7 +24,8 @@ namespace MediaBrowser.Common.Json
|
||||
var options = new JsonSerializerOptions
|
||||
{
|
||||
ReadCommentHandling = JsonCommentHandling.Disallow,
|
||||
WriteIndented = false
|
||||
WriteIndented = false,
|
||||
IgnoreNullValues = true
|
||||
};
|
||||
|
||||
options.Converters.Add(new JsonGuidConverter());
|
||||
|
||||
Reference in New Issue
Block a user