I have an array with some ids, the return object of my request to the WebService is as shown in code snippet number 1.
I would like to know if there is any way via jQuery, to just extract the values and leave my JSON as shown by the object of the second code snippet:
How are you?
[{
"id": "1"
}, {
"id": "2"
}, {
"id": "3"
}, {
"id": "4"
}, {
"id": "5"
}]
How I wish you were:
["1","2","3","4","5"]