Skip to content

Properly populate JSONDecodeError & UnicodeDecodeError #46

@TkTech

Description

@TkTech

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 and colno (https://docs.python.org/3/library/json.html#json.JSONDecodeError)

Might be viable to return 0 and 0 for now?

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedBlocked by external projects (toolchains, OS issues, etc)bugSomething isn't workingupstream change requiredThis issue requires changes in the simdjson library

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions