Inconsistency of character indexes while trying to parse multiple JSON in a file
I am using the following code to parse JSON multiline objects separated by comma from a webscraped string stored in a .json file: import json def stream_read_json(fn): start_pos = 0 with open(fn, 'r', encoding='utf-8') as f: while True: try: obj…