import json


def get_json(json_file):
    """
    Read bnida JSON file

    :param json_file: Path to json file
    :return: Dict containing JSON file content
    """

    json_array = None
    if json_file is None:
        return None

    try:
        f = open(json_file, 'rb')
        json_array = json.load(f)
    except Exception as e:
        print('Failed to parse json file {} {}'.format(json_file, e))
    return json_array