My JSON data is structured as follows:
{
"bitcoin": [
"-0.47",
"-0.46",
"-0.42"
],
"maker": [
"8.29",
"8.29",
"6.89"
]
}
I want to extract values from this data where keys are not specified. How can I achieve this?
Update: Thanks to the assistance of @kolzar and @FZs, I was able to accomplish this using the following code snippet:
for (var key in obj) {
console.log(key + obj[key]);
}