128
rated 0 times
[
130]
[
2]
/ answers: 1 / hits: 16705
/ 11 Years ago, tue, november 5, 2013, 12:00:00
I want to get the key from the JSON
Array?
This is my JSON Array
****JAVASCRIPT****
var employees = [
{ firstName:John , lastName:Doe },
{ firstName:Anna , lastName:Smith },
{ firstName:Peter , lastName: Jones }
];
From this JSON I need the result key. I mean firstName, lastName, not John, Anna, Peter
Please help to get the keys from JSON.
More From » jquery