(dict_to_write, output_file)
Outputs a given dictionary as a JSON file with indents.

    Args:
        dict_to_write (dict): Input dictionary to output.
        output_file (str): File path to write the dictionary.

    Returns:
        None
Outputs a given dictionary as a JSON file with indents.
Outputs a given dictionary as a JSON file with indents .
def write_to_json(dict_to_write, output_file):
    """
    Outputs a given dictionary as a JSON file with indents.

    Args:
        dict_to_write (dict): Input dictionary to output.
        output_file (str): File path to write the dictionary.

    Returns:
        None
    """
    with open(output_file, 'w') as file:
        json.dump(dict_to_write, file, indent=4)
def write_to_json ( dict_to_write , output_file ) : with open ( output_file , 'w' ) as file : json . dump ( dict_to_write , file , indent = 4 )