Using reduce function fror json respone : I have the following JSON:

```
{
	"meta": {
		"totalPages": 13
	},
	"data": [{
		"type": "articles",
		"id": "3",
		"attributes": {
			"title": "AAAAA",
			"body": "BBBB",
			"created": "2011-06-22T14:56:29.00z",
			"updated": "2011-06-22T14:56:28.00z"
		}
	}],
	"links": {
		"self": "http://example.com/articles?page[number]=3&page[size]=1",
		"first": "http://example.com/articles?page[number]=1&page[size]=1",
		"prev": "http://example.com/articles?page[number]=2&page[size]=1",
		"next": "http://example.com/articles?page[number]=4&page[size]=1",
		"last": "http://example.com/articles?page[number]=1&page[size]=1"
	}
}
```

Suppose I'm getting this Json as response from a web server, is there a way somehow to use [reduce()](https://www.w3schools.com/jsref/jsref_reduce.asp) method here? 

I tried like:

```
$.ajax({
  url:"http://...",
  type: "GET",
  headers:{"application/vnd+json"},
  success: function(data){
  var r = data.cells.reduce(function(array, object) {
    return array.concat(object.type);
   }, {});

  console.log(r);
 }
)};
 
```

Is it possible at all to use reduce here? My task is to use reduce function for the given Json my AJAX is ok?