JSON post data to mvc controller
问题 I got an entity class that contains a Person and Address. public class Person { public int Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public List<Address> Addresses { get; set; } } public class Address { public string ZipCode { get; set; } public string City { get; set; } public string State { get; set; } public string Country { get; set; } } In my view i display a few checkboxes. @model DataContext.Models.Persons @{ ViewBag.Title = "Person