Answer the question
In order to leave comments, you need to log in
How to remove json from python?
Hello, I decided to learn how to work with json in python and there was a problem when I save data in json, then how to delete this data if I have not one value but many stored in this json dictionary?
This is what the json file looks like when I save the data there
[
{
"user_id": 1,
"first_name": "Elova",
"last_name": "Elizaveta"
},
{
"user_id": 2,
"first_name": "Alex",
"last_name": "Petrov"
}
]
how can I delete the json data of the second object only?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question