Convert Json from MVC controller to Array in Jquery : I have a controller in MVC, and return Json like below:

    public JsonResult getData()
    {
        var data = new[]{
                        new
                        {
                            x = 10,
                            y = 20,
                            name = "Jim",
                        },
                        new
                        {
                            x = 11,
                            y = 21,
                            name = "Tom",
                        }
                        };

        return Json(data, JsonRequestBehavior.AllowGet);
    }
And I have ajax request like below:

    $.ajax({
        type: "GET",
        url: "https://localhost:44361/home/getdata",            
        dataType: "json",
        success: function (result) {             
            return result;
        },
        error: function (response) {
            return "faut";
        }
    });
I want to convert the json result to below Array

    var arr = [
        ['x','y','name'],
        [10,20,'Jim'],
        [11,21,'Tom']
        ];
Any help would be appreciated.
