Получаю по запросу данные
$.get('http://work-market-api.local/api/posts', {},
function (response) {
dataArr = JSON.stringify(response);
});
В dev tools вижу это
0:
id: 1
profession: "Подсобный рабочий"
decriptions: "Описание професиии"
img: "img"
index_wages: "0.72"
index_weight: "588.00"
education_id: 1
education_higher: "0.00"
education_average: "0.00"
education_common: "1.00"
industry_id: 0
created_at: null
updated_at: null
__proto__: Object
1:
id: 2
profession: "Врач "
decriptions: "Описание професиии"
img: "img"
index_wages: "1.17"
index_weight: "414.42"
education_id: 3
education_higher: "1.00"
education_average: "0.00"
education_common: "0.00"
industry_id: 0
created_at: null
updated_at: null
__proto__: Object
Как мне преобразовать в данные вида:
["0.72","588.00","Подсобный рабочий",...]
?