I Have a model in ASP.Net MVC something like this one.
public class DataTable
        {
            public int RecordsTotal { get; set; }
            public int RecordsFiltered { get; set; }
            public int Draw { get; set; }
        }
It is possible to output this as a JSON with putting a Data Annotation in every property? The output should be something like this.
{
recordsTotal:10,
recordsFiltered:10,
draw:1 
}
Thanks!
 
     
    