import json


def get_json_file(path):
    """

    Args:
        path: path to retrieve file from.

    Returns: json object loaded from the path.

    """
    with open(path, 'r') as json_file:
        return json.loads(json_file.read())