JSONDecodeError

Hey !

I’m new to AllenNLP and trying to use the Datase reader text_classification_json.py(https://github.com/allenai/allennlp/blob/master/allennlp/data/dataset_readers/text_classification_json.py), but always get the following error in _read at items = json.loads(line):

File “/usr/lib64/python3.6/json/init.py”, line 299, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File “/usr/lib64/python3.6/json/init.py”, line 354, in loads
return _default_decoder.decode(s)
File “/usr/lib64/python3.6/json/decoder.py”, line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib64/python3.6/json/decoder.py”, line 355, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Invalid control character at: line 99651 column 27 (char 1836282)

Does anyone have any idea what I might be doing wrong or suggestions for what I could try ?

Thanks in advance for your time !
Best,
Julia