Issue
I have a problem with my Redis db, it is encoded with PHP serialized protocol but I don't how I can decode this data using Golang, is there something like JSON Unmarshall/Marshall for this?
Solution
To read such data in your Go program you will have to reimplement unserialize
PHP function in Go. I doubt it is an easy task though.
A better solution would be to use a portable format to store data in Redis, such as JSON or Google Protobuf.
Answered By - kostya Answer Checked By - Cary Denson (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.