I have below dictionary and I need to extract "red" and "blue" values as list, there may be a lot more values than only these 2.
input:
js = {
"accounts": {
"red": {
"client_id": "123",
"client_secret": "123",
},
"blue": {
"client_id": "123",
"client_secret": "123",
}
}
}
expected output:
["red","blue"]