I've got a json like this:
"values": [
{"name": "name1"},
{"name": "name2"},
{"name": "name3"}
]
and but now i need convert it into this:
values: ["name1", "name2", "name3"];
In angularjs (or some function in javascript). Is it possible?