Skip to content

Instantly share code, notes, and snippets.

@jamesmontemagno
Last active December 31, 2015 09:39
Show Gist options
  • Save jamesmontemagno/7967941 to your computer and use it in GitHub Desktop.
Save jamesmontemagno/7967941 to your computer and use it in GitHub Desktop.
using Newtonsoft.Json;
namespace TodoList.Portable
{
public class TodoItem
{
public string Id { get; set; }
[JsonProperty(PropertyName = "text")]
public string Text { get; set; }
[JsonProperty(PropertyName = "complete")]
public bool Complete { get; set; }
public override string ToString()
{
return Text;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment