Add an object to a json file
Append an object to a existing dictionary embedded in a json file. I have a sample json file which I am reading using below code. Please check the code and sample json file here. with open('sample.json') as fp: dictObj =…