import json


def readMap(mapPath):
    """Reads a map file into a json object

    Args:
        mapPath: file system path to map file

    Returns:
        parsed map as a json object
    """
    with open(mapPath, 'r') as f:
        map = json.load(f)
    return map