I want to update only a part of data in this json file and im struggling to do it.
the json file is as follows:
[
{
"IP": "Not Specified",
"MOTD": "Not Specified",
"Seed": "Not Specified",
"Server_image": "Not Specified",
"Cracked_status": "Not Specified",
"Version": "Not Specified",
"Software": "Not Specified",
"Difficulty": "Not Specified"
}
]
I want to update the IP value using python
for x in dataa: for y in x: if y == 'value': var_u_writing_back = x.update({y: "value3"})