def write(self, data):

        if len(self._data_queue) >= self.MAXSIZE:
            self._cleanup()

        self._data_queue.append(data)
        self.startWriting()
Return prettified JSON `data`, set ``response.content_type`` to
dataset/ETHPy150Open marineam/nagcat/python/nagcat/nagios_api.py/NagiosWriter.write--crossover with--dataset/ETHPy150Open Bystroushaak/bottle-rest/src/bottle_rest/bottle_rest.py/encode_json_body