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