diff --git a/TMDbLib/Objects/Search/KnownForBase.cs b/TMDbLib/Objects/Search/KnownForBase.cs index 078beb2c..c9f254ec 100644 --- a/TMDbLib/Objects/Search/KnownForBase.cs +++ b/TMDbLib/Objects/Search/KnownForBase.cs @@ -11,7 +11,7 @@ public abstract class KnownForBase public string BackdropPath { get; set; } [JsonProperty("genre_ids")] - [JsonConverter(typeof(TmdbIntArrayAsObjectConverter))] + [JsonConverter(typeof(TmdbIntArrayAsObjectConverter)) /*#307*/] public List GenreIds { get; set; } [JsonProperty("id")] diff --git a/TMDbLib/Objects/Search/SearchMovieTvBase.cs b/TMDbLib/Objects/Search/SearchMovieTvBase.cs index 024fa478..8eabc1a1 100644 --- a/TMDbLib/Objects/Search/SearchMovieTvBase.cs +++ b/TMDbLib/Objects/Search/SearchMovieTvBase.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using Newtonsoft.Json; +using TMDbLib.Utilities.Converters; namespace TMDbLib.Objects.Search { @@ -9,6 +10,7 @@ public class SearchMovieTvBase : SearchBase public string BackdropPath { get; set; } [JsonProperty("genre_ids")] + [JsonConverter(typeof(TmdbIntArrayAsObjectConverter)) /*#307*/] public List GenreIds { get; set; } [JsonProperty("original_language")] diff --git a/TMDbLib/Objects/TvShows/TvShow.cs b/TMDbLib/Objects/TvShows/TvShow.cs index fa8381c3..ea1fcf7d 100644 --- a/TMDbLib/Objects/TvShows/TvShow.cs +++ b/TMDbLib/Objects/TvShows/TvShow.cs @@ -46,6 +46,7 @@ public class TvShow public DateTime? FirstAirDate { get; set; } [JsonProperty("genre_ids")] + [JsonConverter(typeof(TmdbIntArrayAsObjectConverter)) /*#307*/] public List GenreIds { get; set; } [JsonProperty("genres")]