setOptions Method Fix

setOptions Method fix
Code 
->setOptions( array("aoColumnDefs" => 
            array(
                'aTargets' => [6],
                'mData' => [6],
                'mRender' => "
function (data, type, full) {
        return '123';
      }"
                )))


Output: 
 "aoColumnDefs": 
                [{
                    "aTargets":  [6],                     
                    "mData":  [6],                     
                    "mRender":        function (data, type, full) {
        return '123';
      } ,                     
        }],