I have an object model that looks like this:
public class Myclass
{
    public int Id { get; set; }
    public string  name { get; set; }
    public int age { get; set; }
}
public ContentResult GetList(List<Myclass> model)
{
    var list = JsonConvert.SerializeObject(
        model,
        Formatting.Indented,
        new JsonSerializerSettings()
        {
            ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore
        });
    return Content(list, "application/json");
}
I need OUTPUT:
[[1,"name1",23],[2,"name2",30],[3,"name3",26],[4,"name4",29]]
 
     
    