Im trying to find the proper way to delete json data with python. My goal with the python script is to remove the contact that the user inputs. I want to remove their email, number, and name but keep the rest of my contacts.
My json looks like this:
{
"contacts": {
"example_contact": {
"email": "[email protected]",
"number": "phone number"
}
}
}