def on_rapidjson_dumps(self, rapidjson, config, dictionary, **kwargs):
return rapidjson.dumps(dictionary, **kwargs)<EOL>
The `rapidjson <https://pypi.org/project/python-rapidjson/>`_ dumps method.

        :param module rapidjson: The ``rapidjson`` module
        :param class config: The instance's config class
        :param dict dictionary: The dictionary instance to serialize
        :param int indent: The amount of spaces to use for indentation,
            defaults to 0, optional
        :returns: The json serialization of the given ``dictionary``
        :rtype: str