(filename, json_data)
Store json data into a file.
Store json data into a file.
Store json data into a file .
def _store_data(filename, json_data):
        """Store json data into a file."""
        with open(filename, "w+") as json_file:
            os.chmod(filename, 0o600)
            json.dump(json_data, json_file)
def _store_data ( filename , json_data ) : with open ( filename , "w+" ) as json_file : os . chmod ( filename , 0o600 ) json . dump ( json_data , json_file )