So I'm making a Discord bot and I need to edit some data in my .json file
Here's the json file:

"name"'s variable is player
I want to edit the balance, there's gonna be a command to add and subtract, so how do I do that?
I tried writing and deleting it, but either I did it wrong or it doesn't work
json.loadsto convert this to a Python structure, then use regular Python code to make your change, thenjson.dumpsto write it back out.