In Controller You need use anonymous object to return json data
var result = // object which contain result
var jsonData = result.select(x=>new{
PropertyA = x.A,
PropertyB = x.B,
PropertyC = x.C,
});
return Json(jsonData, JsonRequestBehavior.AllowGet)
In function javascript
success:function(data){
$.each(data,function(i,data){
//loop and insert your table
data.PropertyA //get data
})
}