code: def writerow(self, row):
          
          json_text = json.dumps(row)
          if isinstance(json_text, bytes):
              json_text = json_text.decode('utf-8')
          self._out.write(json_text)
          self._out.write(u'\n')
docs: Write a single row.