Hello, I have this piece of python3 code with a piece of thejson code as well. Im having an error when i try to pop/remove aspecfic object from the json file. In this case i want to removethe first object from the json file. However it is givin me anerror. I have tried using pop, remove, and del and it does notwork. I also want to modify that part of the json object that iremoved and put it back in the original location. Btw state isalready defined, This is just a part of a code.
with open(“flightsdata.json”) as f:
data = json.load(f)
for
PayPal Gateway not configured
PayPal Gateway not configured