get json object key and value code example
Example: json get key
var jsonData = {person:"me", age :"30"};
console.log(Object.keys(jsonData)[0])
// Prints person
var jsonData = {person:"me", age :"30"};
console.log(Object.keys(jsonData)[0])
// Prints person