Closed erosennin closed 7 years ago
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.
encode
decode
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?
Sure, done.
This PR adds the ability to customize the serialization of values by passing custom
encode
anddecode
functions to SqliteDict. Possible use cases are storing values as JSON, applying compression, etc.