using System.Collections.Generic;
public static void Main()
Account account = new Account
Email = "james@example.com",
CreatedDate = new DateTime(2013, 1, 20, 0, 0, 0, DateTimeKind.Utc),
string json = JsonConvert.SerializeObject(account, Formatting.Indented);
public string Email { get; set; }
public bool Active { get; set; }
public DateTime CreatedDate { get; set; }
public IList<string> Roles { get; set; }