code: def test_to_json_newline_delimited(self):
      table = Table(self.rows, self.column_names, self.column_types)
  
      output = StringIO()
      table.to_json(output, newline=True)
  
      js1 = json.loads(output.getvalue().split("\n")[0])
  
      with open("examples/test_newline.json") as f:
          js2 = json.loads(list(f)[0])
  
      self.assertEqual(js1, js2)
  
file_path: agate/tests/test_table/test_to_json.py
imports: import json
  import os
  import sys
  from io import StringIO
  from agate import Table
  from agate.data_types import Boolean, Date, DateTime, Number, Text, TimeDelta
  from agate.testcase import AgateTestCase
label_desc: Use image node_id 6 for calling the TestJSON obj's underlying member method code with example usage: obj.test_to_json_newline_delimited() without return types