fix up some deserialization problems
This commit is contained in:
@@ -331,7 +331,7 @@ namespace Untappd.Net.Responses.Feeds.ActivityFeed
|
||||
[JsonProperty("count")]
|
||||
public int Count { get; set; }
|
||||
|
||||
[JsonProperty("auth_toast")]
|
||||
[JsonProperty("auth_toast", NullValueHandling = NullValueHandling.Ignore)]
|
||||
public bool AuthToast { get; set; }
|
||||
|
||||
[JsonProperty("items")]
|
||||
@@ -516,6 +516,7 @@ namespace Untappd.Net.Responses.Feeds.ActivityFeed
|
||||
public Meta Meta { get; set; }
|
||||
|
||||
[JsonProperty("notifications")]
|
||||
[JsonConverter(typeof(SingleObjectArrayConverter<Notifications>))]
|
||||
public Notifications Notifications { get; set; }
|
||||
|
||||
[JsonProperty("response")]
|
||||
|
||||
@@ -348,7 +348,7 @@ namespace Untappd.Net.Responses.Feeds.UserActivityFeed
|
||||
[JsonProperty("count")]
|
||||
public int Count { get; set; }
|
||||
|
||||
[JsonProperty("auth_toast")]
|
||||
[JsonProperty("auth_toast", NullValueHandling = NullValueHandling.Ignore)]
|
||||
public bool AuthToast { get; set; }
|
||||
|
||||
[JsonProperty("items")]
|
||||
@@ -483,6 +483,7 @@ namespace Untappd.Net.Responses.Feeds.UserActivityFeed
|
||||
public Meta Meta { get; set; }
|
||||
|
||||
[JsonProperty("notifications")]
|
||||
[JsonConverter(typeof(SingleObjectArrayConverter<Notifications>))]
|
||||
public Notifications Notifications { get; set; }
|
||||
|
||||
[JsonProperty("response")]
|
||||
|
||||
@@ -872,6 +872,7 @@ namespace Untappd.Net.Responses.UserInfo
|
||||
public Meta Meta { get; set; }
|
||||
|
||||
[JsonProperty("notifications")]
|
||||
[JsonConverter(typeof(SingleObjectArrayConverter<Notifications>))]
|
||||
public Notifications Notifications { get; set; }
|
||||
|
||||
[JsonProperty("response")]
|
||||
|
||||
Reference in New Issue
Block a user