title: Return JSON data from with "data"
body: <p>I need to populate a jQuery datatable with my database data, but was very difficult to do so. Searching in the web, I believe I have found the cause, which would be the json format returned by my controller. The format should be as follows:</p>
  
  <pre><code>{
    "data": [
      {
        "ID": "1",
        "CODIGO": "CC0050",
        "TEXTO": "USINAGEM"
      },
      {
        "ID": "2",
        "CODIGO": "CC0100",
        "TEXTO": "MONTAGEM"
      }]
  }
  </code></pre>
  
  <p>but are returning in this format:</p>
  
  <pre><code>[
   {
    "ID":24,
    "CODIGO":"CC0050",
    "TEXTO":"USINAGEM"
   },
   {
    "ID":25,
    "CODIGO":"CC0100",
    "TEXTO":"MONTAGEM"
   }
  ]
  </code></pre>
  
  <p>this is the controller code:</p>
  
  <pre><code>[HttpGet]
      public JsonResult GetAllCECOS()
      {
          using (RPIEntities contextObj = new RPIEntities())
          {
              try
              {
                  var listaCECOS = contextObj.T0CECOS.ToList();
                  return Json(listaCECOS, JsonRequestBehavior.AllowGet);
              }
              catch (Exception ex)
              {
  
                  throw ex;
              }
          }
      }
  </code></pre>