Fixes Json Serialization

This commit is contained in:
Paul Schneider 2016-10-04 02:42:23 +02:00
commit da6b68ea8f

View file

@ -1,10 +1,6 @@
using BookAStar.Helpers; using BookAStar.Helpers;
using BookAStar.Model.Social; using BookAStar.Model.Social;
using System; using Newtonsoft.Json;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms; using Xamarin.Forms;
namespace BookAStar.Model namespace BookAStar.Model
@ -21,6 +17,7 @@ namespace BookAStar.Model
public Location BillingAddress { get; set; } public Location BillingAddress { get; set; }
// TODO Get User Professional status existence as a boolean // TODO Get User Professional status existence as a boolean
// And hack the avatar with // And hack the avatar with
[JsonIgnore]
public ImageSource AvatarOrNot public ImageSource AvatarOrNot
{ {
get get