import json


def read_config(config_path):
    """
    Reads a JSON configuration file

    :cfg_path: Absolute path to JSON file
    :returns: Configuration as JSON object
    """
    with open(config_path) as config_file:
        config = json.load(config_file)
    return config