I'm facing a dilemma. Within the layers of this object, I need to identify and select a specific key among the nested elements. The structure of the object is as follows:
var x={
"_shards": {
"total": 10,
"successful": 5,
"failed": 0
},
"_all": {
"primaries": {
"indexing": {
"index_total": 4,
"index_time_in_millis": 5,
"index_current": 0,
"delete_total": 0,
"delete_time_in_millis": 0,
"delete_current": 0
}
},
"total": {
"indexing": {
"index_total": 4,
"index_time_in_millis": 5,
"index_current": 0,
"delete_total": 0,
"delete_time_in_millis": 0,
"delete_current": 0
}
}
},
"indices": {
"get56_name": {
"primaries": {
"indexing": {
"index_total": 4,
"index_time_in_millis": 5,
"index_current": 0,
"delete_total": 0,
"delete_time_in_millis": 0,
"delete_current": 0
}
},
"total": {
"indexing": {
"index_total": 4,
"index_time_in_millis": 5,
"index_current": 0,
"delete_total": 0,
"delete_time_in_millis": 0,
"delete_current": 0
}
}
}
}
}
My question is, how do I pinpoint and extract the key "get56_name" without retrieving its value?