I am scraping the web and pulling the HTML attributes out as the dictionary and want to compile all of these as objects into the JSON file.
The dictionary is shown below:
{'car':'ford',
'mpg':45,
'VIN':'A31GAFD'}
and I want the JSON file to look like this:
{
{'car':'ford',
'mpg':45,
'VIN':'A31GAFD'},
{'car':'bmw',
'mpg':12,
'VIN':'B441GAFD'}
}