import json


def load_json(json_file):
    """
    Opens json-file and returns it as dictionary

    :param json_file: path to json-file
    :type json-file: string
    
    :returns: the content of the json file as dictionary
    """
    with open(json_file) as infile:
        content = json.load(infile)
    
    return content