From f4b3e9fe401b4979a1e6af8635dad9e0b87dfaf8 Mon Sep 17 00:00:00 2001 From: Jonas Dellinger Date: Mon, 3 Jun 2019 15:05:54 +0200 Subject: [PATCH] Remove JSON TypeHandling, fixes #342 --- SpotifyAPI.Web/SpotifyWebAPI.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SpotifyAPI.Web/SpotifyWebAPI.cs b/SpotifyAPI.Web/SpotifyWebAPI.cs index 96870ac7..2cf023a2 100644 --- a/SpotifyAPI.Web/SpotifyWebAPI.cs +++ b/SpotifyAPI.Web/SpotifyWebAPI.cs @@ -29,8 +29,7 @@ namespace SpotifyAPI.Web JsonSettings = new JsonSerializerSettings { - NullValueHandling = NullValueHandling.Ignore, - TypeNameHandling = TypeNameHandling.All + NullValueHandling = NullValueHandling.Ignore } }; }