-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON parsing fails on "lone leading surrogate in hex escape" while normal json.loads don't #120
Comments
Moving this to jiter. We need to check what serde-json does. |
Serde fails with the same error message: Part of the problem will be that a Python Rust |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
In out migration to pydantic 2, we found a JSON document that pydantic 1 was able to load and pydantic 2 can't with the error:
Here's a simple way of reproducing:
This first print from python's json works:
The second one using pydantic_core (used by pydantic2) raises
Here's some versions
Thank you!
The text was updated successfully, but these errors were encountered: