I am working with JSON data with multiple sets of key value pairs - each set constitutes a list. In the simplified example below, The list name is not known beforehand - actually I'll need to populate a select dropdown on the page with the names of each list. How do I retrieve the set names in this situation? Thanks
({
"list1":
[{
"prodRating": "5",
"prodReviews": "21"
},
{
"prodRating": "5",
"prodReviews": "21"
}],
"list2":
[{
"prodRating": "5",
"prodReviews": "21"
},
{
"prodRating": "5",
"prodReviews": "21"
}]
})