Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
JsonSerializer converts dictionaries keys to strings #441
Good day. aiocache==0.10.1 on Python 3.7.
Consider the following snippet:
While I put
Works fine with Pickle serializer.
numeric keys are not valid JSONs https://stackoverflow.com/questions/8758715/using-number-as-index-json
If you want to save objects like that and persist the types you'll have to use a serializer like the Pickle one or build a custom one
PS: closing because its not an issue with the library, feel free to keep discussing if you have further doubts though :)
Silly me :) Thank you.…
On Fri., 1 Feb. 2019, 03:25 Manuel Miranda ***@***.*** wrote: Closed #441 <#441>. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#441 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AADjWdz9Bv08HPnlm4zNkY4YipLGJgCvks5vIxj8gaJpZM4abgt4> .