خرید بک لینک

Vote count: 0

I want to convert this object:

"age": [
  {
     "Under 20": "14",
     "Above 40": "1"
  }
]

to this: {c: [{v: Under 20}, {v: 14}], c: [{v: Above 40} {v: 1}]}

I know how to use $.map and arr.push but I can't get the key Under 20 and take the element value 14.

How can I achieve that?

asked 3 mins ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 10 فروردين 1395 ساعت: 14:21

صفحه بندی