import json


def load(path, **kwargs):
    """Load a `JSON <https://www.json.org/json-en.html>`_ configuration file.

    Parameters
    ----------
    path : :class:`str`
        The path to the file.
    kwargs
        All keyword arguments are passed to :func:`json.load`.

    Returns
    -------
    :class:`dict`
        The configuration settings.
    """
    with open(path, mode='rt') as fp:
        return json.load(fp, **kwargs)