import json


def load_json(fname):
    """ load json file

    load data from json file.

    Args:
        fname (str): local json filename to be loaded

    Return:
        jsong_obj (dict): json file
    """

    with open(fname, encoding="utf-8") as f:
        json_obj = json.load(f)

    return json_obj