Properly populate JSONDecodeError & UnicodeDecodeError #46
Labels
blocked
Blocked by external projects (toolchains, OS issues, etc)
bug
Something isn't working
upstream change required
This issue requires changes in the simdjson library
We currently raise a ValueError instead of JSONDecodeError (which is a ValueError subclass) in some cases where JSONDecodeError would be more appropriate. This is because upstream simdjson does not report errors with enough granularity to populate
lineno
andcolno
(https://docs.python.org/3/library/json.html#json.JSONDecodeError)Might be viable to return 0 and 0 for now?
The text was updated successfully, but these errors were encountered: