Skip to content

Commit

Permalink
Include default values in JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
lyarenei committed Nov 11, 2023
1 parent d77962b commit 16ec157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jellyfin.Plugin.ListenBrainz.Api/BaseClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class BaseClient : HttpClient
public static readonly JsonSerializerSettings SerializerSettings = new()
{
NullValueHandling = NullValueHandling.Ignore,
DefaultValueHandling = DefaultValueHandling.Ignore,
DefaultValueHandling = DefaultValueHandling.Include,
ContractResolver = new DefaultContractResolver { NamingStrategy = new SnakeCaseNamingStrategy() }
};

Expand Down

0 comments on commit 16ec157

Please sign in to comment.