No need to resolve private fields in json serializer

This commit is contained in:
Jonas Dellinger 2020-05-11 19:42:04 +02:00
parent cc42c3971f
commit 8fb50ad9cf

View File

@ -19,7 +19,6 @@ namespace SpotifyAPI.Web.Http
{
NamingStrategy = new SnakeCaseNamingStrategy()
};
contractResolver.DefaultMembersSearchFlags |= BindingFlags.NonPublic;
_serializerSettings = new JsonSerializerSettings
{