(json_file)
Loads a JSON file as a dictionary and return it.

    Args:
        json_file (str): Input JSON file to read.

    Returns:
        dict: Dictionary loaded from the JSON file.
Loads a JSON file as a dictionary and return it.
Loads a JSON file as a dictionary and return it .
def load_from_json(json_file):
    """
    Loads a JSON file as a dictionary and return it.

    Args:
        json_file (str): Input JSON file to read.

    Returns:
        dict: Dictionary loaded from the JSON file.
    """
    with open(json_file, 'r') as file:
        return json.load(file)
def load_from_json ( json_file ) : with open ( json_file , 'r' ) as file : return json . load ( file )