@contextmanager<EOL><INDENT>def parse_line(self, line):<DEDENT>
prefix = "<STR_LIT>"<EOL>if line.startswith("<STR_LIT:U+002C>"):<EOL><INDENT>line, prefix = line[<NUM_LIT:1>:], "<STR_LIT:U+002C>"<EOL><DEDENT>j = json.loads(line)<EOL>yield j<EOL>self.io.write_line(prefix + json.dumps(j))<EOL>
Parse a single line of JSON and write modified JSON back.