import pickle


def load_pickle(path):
    """
    loads a json file from the path
    :param path: the full path to the json file
    :return: a json.load object
    """
    with open(path, 'rb') as f:
        res = pickle.load(f)
    return res