code: def parse_line(self, line):
          
  
          prefix = ""
          # ignore comma at start of lines
          if line.startswith(","):
              line, prefix = line[1:], ","
  
          j = json.loads(line)
          yield j
          self.io.write_line(prefix + json.dumps(j))
docs: Parse a single line of JSON and write modified JSON back.