using Newtonsoft.Json; using System; [Serializable] [JsonObject] public class Proposition { public string photoUrl; public Player owner; public string[] voters; }