You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a need to store JSON encoded data in a Walrus Hash, so I hand coded a class to do that, but I was wondering if there would be more interest for something like this.
Example:
>>> hash = redisconnection.Hash(codec=json)
>>> hash["hello"] = dict(place="world", greeting="hey")
# Dict is stored as a JSON
>>> hash["hello"]
{"place": "world", "greeting": "hey"}
>>>
So my question:
Is there any interest for a PR that would implement that for all containers?
The codec would be any module or object that implements both loads and dumps function/method.
The text was updated successfully, but these errors were encountered:
I had a need to store JSON encoded data in a Walrus Hash, so I hand coded a class to do that, but I was wondering if there would be more interest for something like this.
Example:
So my question:
Is there any interest for a PR that would implement that for all containers?
The codec would be any module or object that implements both
loads
anddumps
function/method.The text was updated successfully, but these errors were encountered: