I get the json from API, and the json look's like :
"diagnosis": {
"type": [],
"kode": [],
"PrimaryCat": [],
"Location": [],
"Encountrace": [],
"Fracture": [],
"Healing": [],
}
Expected Result:
I want to store the keys
into array, and the result should be
['type', 'kode', 'PrimaryCat', 'Location', 'Encountrace', 'Fracture', 'Healing']
it is possible to get it?
Refer to this question, I cant convert the code from android into javascript