def parse(path):
    """
    Parser json configuration file
    """
    try:
        f = open(path, 'r')
    except __HOLE__:
        logger.error("Can't find config file."
                     "Run `catsup init` to generate a new config file.")
        exit(1)
    return update_nested_dict(ObjectDict(), ujson.load(f))
dataset/ETHPy150Open whtsky/Catsup/catsup/parser/config.py/parse