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
SharedMemoryDict cannot be serialized by json.dumps.
I have to use ._read_memory() to do so. It seems strange.
Maybe we should add a .dict() method to convert it to ordinary dict?
The text was updated successfully, but these errors were encountered:
This would be solved by #42 which allows giving a JSONEncoder subclass. A example usage is something like this: https://github.com/spaceone/shared-memory-dict/blob/json-nested-dictionary-serializer/shared_memory_dict/nested_json_serializer.py#L15-L32
Sorry, something went wrong.
No branches or pull requests
SharedMemoryDict cannot be serialized by json.dumps.
I have to use ._read_memory() to do so.
It seems strange.
Maybe we should add a .dict() method to convert it to ordinary dict?
The text was updated successfully, but these errors were encountered: