import json


def json_renderer(unrendered, **kwargs):
    """
    Renders a response using :func:`json.dumps`.

    :Renderer MIME type triggers: - application/json
    :Renderer name triggers: - json
    """
    return unrendered.rendered(
        json.dumps(unrendered.response),
        'application/json')