File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public abstract class KnownForBase
1111 public string BackdropPath { get ; set ; }
1212
1313 [ JsonProperty ( "genre_ids" ) ]
14- [ JsonConverter ( typeof ( TmdbIntArrayAsObjectConverter ) ) ]
14+ [ JsonConverter ( typeof ( TmdbIntArrayAsObjectConverter ) ) /*#307*/ ]
1515 public List < int > GenreIds { get ; set ; }
1616
1717 [ JsonProperty ( "id" ) ]
Original file line number Diff line number Diff line change 11using System . Collections . Generic ;
22using Newtonsoft . Json ;
3+ using TMDbLib . Utilities . Converters ;
34
45namespace TMDbLib . Objects . Search
56{
@@ -9,6 +10,7 @@ public class SearchMovieTvBase : SearchBase
910 public string BackdropPath { get ; set ; }
1011
1112 [ JsonProperty ( "genre_ids" ) ]
13+ [ JsonConverter ( typeof ( TmdbIntArrayAsObjectConverter ) ) /*#307*/ ]
1214 public List < int > GenreIds { get ; set ; }
1315
1416 [ JsonProperty ( "original_language" ) ]
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ public class TvShow
4646 public DateTime ? FirstAirDate { get ; set ; }
4747
4848 [ JsonProperty ( "genre_ids" ) ]
49+ [ JsonConverter ( typeof ( TmdbIntArrayAsObjectConverter ) ) /*#307*/ ]
4950 public List < int > GenreIds { get ; set ; }
5051
5152 [ JsonProperty ( "genres" ) ]
You can’t perform that action at this time.
0 commit comments