This is the content of my json file:
{
"tabID": [
{
"dat": [1, "q"],
"opt": []
}
]
}
I'm building a python app that process that json file and I need to remove "opt":[].
I've tried next code:
data['tabID'][0].remove('data')
But it doesn't work.
Could you give me any advice? Thanks.
del data['tabID'][0]['opt'].