Skip to content
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

Custom serialization #65

Merged
merged 1 commit into from
Feb 8, 2017
Merged

Custom serialization #65

merged 1 commit into from
Feb 8, 2017

Conversation

erosennin
Copy link

This PR adds the ability to customize the serialization of values by passing custom encode and decode functions to SqliteDict. Possible use cases are storing values as JSON, applying compression, etc.

@tmylk
Copy link
Contributor

tmylk commented Feb 8, 2017

Thanks for the new feature!
Could you please add text to README in the bottom of Features section on how to use json and compression?

@erosennin
Copy link
Author

Sure, done.

@tmylk tmylk merged commit f7e2cf6 into piskvorky:master Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants