We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, ujson is recognized as a really fast json encoder/decoder, would it be possible to choose the json encoder/decoder library as part of arguments
The text was updated successfully, but these errors were encountered:
Hey @celestian02 , that should be easy to do! Do you want to make the change and open a PR?
You'd need to modify two files: https://github.com/adewes/blitzdb/blob/master/blitzdb/backends/file/serializers.py
Here you'd need to add a new serializer class that imports "ujson" instead of "json" (you can have a look at the CJsonSerializer class for an example)
https://github.com/adewes/blitzdb/blob/master/blitzdb/backends/file/backend.py
Here you'd just need to add 'ujson' to the list of serializers (again, you can have a look at the 'cjson' example).
Let me know if I can help you with anything!
Sorry, something went wrong.
No branches or pull requests
Hi,
ujson is recognized as a really fast json encoder/decoder, would it be possible to choose the json encoder/decoder library as part of arguments
The text was updated successfully, but these errors were encountered: