Hacker News new | ask | show | jobs
by ttaubert 4244 days ago
For non-binary data in general you would have to create your own serialization mechanism. For everything that can be represented textually you can however use the TextEncoder/Decoder API: "var buffer = new TextEncoder("utf-8").encode(text)".
1 comments

Thanks for the response. What I wouldn't give for a built-in equivalent of python's pickle.