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
2.0: Removed generic serialization of objects/iterables #374
Comments
Thanks for the report, that'll be this removal 53f85b1:
The "�DY���" bit is another issue: #258. |
seems like this is bit controversial. I'd like to express my support that this project should be limited to serializing and deserializing basic JSON objects as explicitly defined by RFC 7159 as fast and as resource efficient as possible. Generally accepted extensions like Inf and -Inf could stand to be left out as well. ujson forks like nujson support extensions to numpy objects. Future forks can extend as needed into specific domains. |
Personally, I liked to have the feature of generic serialization of objects/iterables. It was working great, especially when it is needed to serialize complex objects and save them into DB (JSONField in PostgreSQL). |
This change is quite unexpected. We used this package for our REST API, our objects in memory are sets, and changing support for iterables pushes us to select another package. |
Hello! First of all thank you for such a great library!
After recent updates (most probably release of 2.0.x version) it started to fail with serialization error.
Steps to reproduce:
or
Thank you!
The text was updated successfully, but these errors were encountered: