I try to write to a empty json file in python like this.
def add_to_json(name, price): data = {str(name): str(price)} with open("produse.json&quo