I have a JSON field my table which looks like this. There could be any number of menu categories and any number of items
{
"menu": {
"salad": [
{
"item": "russian salad"
},
{
"item": "french salad"
}
],
"soups": [
{
"item": "french soup"
},
{
"item": "english soup"
},
{
"item": "english soup"
}
]
}
There could be any number of menu category (salad, soup) plus any number of items within each category
salad | 2
soups | 3
I've looked at my own previous question, but unsure how I can modify to accommodate for any number of categories and items?