how to get key from json object 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