def json_to_obj(jsonfile):

    tmux = None
    with open(jsonfile,'r') as f:
        tmux = json.load(f, object_hook=dict2object)
    return tmux
load json file
dataset/ETHPy150Open sk1418/retmux/tmuxbk/util.py/json_to_obj