You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raiseException(u'Unexpected \\{} in backslash encoding! Position {}'.format(c.decode('utf-8'), self.readbuf_read-1))
The error messages for locating erroneous json files can be quite handy, however, I encounter some problems with deciphering the actual buffer position.
I might be wrong, but I mashed up this small test example:
Unexpected bytes! Value '}' Position 48
Unexpected bytes! Value '}' Position 3
I am not sure how to fix bigjson but I would have expected that both errors showed the same byte-location. I think it has to do with not using _tell_read_pos in the errors. But I am not fully sure?
The text was updated successfully, but these errors were encountered:
bigjson/bigjson/filereader.py
Line 124 in b562d7b
The error messages for locating erroneous json files can be quite handy, however, I encounter some problems with deciphering the actual buffer position.
I might be wrong, but I mashed up this small test example:
and then parsing this on a faulty
json
file resulted in 2 different byte positions.Here is a snippet of the json file:
I get this when running the faulty code:
I am not sure how to fix
bigjson
but I would have expected that both errors showed the same byte-location. I think it has to do with not using_tell_read_pos
in the errors. But I am not fully sure?The text was updated successfully, but these errors were encountered: