import json


def loadJson(jsonfile):
    """
    Reads a .json file into a python dictionary.

    Requires json package.

    """

    with open(jsonfile, "r") as data:
        dictname = json.loads(data.read())
    return dictname