Anda dapat membuat daftar dan menambahkan setiap entri.
all_data = []
data_google = {
'url' = 'https://google.com',
'results' = []
}
data_thai = {}
data_thai['search'] = 'thai food'
data_thai['results'] = results
data_google.append(data_thai)
data_indian = {}
data_indian['search'] = 'indian food'
data_indian['results'] = results
data_google.append(data_indian)
all_data.append(data_google)
...
import json
print(json.dumps(all_data , indent=4)