Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement un/serialization #8

Open
jhermsmeier opened this issue Aug 6, 2013 · 3 comments
Open

Implement un/serialization #8

jhermsmeier opened this issue Aug 6, 2013 · 3 comments
Milestone

Comments

@jhermsmeier
Copy link
Owner

No description provided.

@jhermsmeier
Copy link
Owner Author

JSON won't really work here, since we need to recreate buffers in a sane way.
Other formats, like creationix/msgpack-js might work though.

@wiktor-k
Copy link

Couldn't serialization just work on Envelope objects (or Envelope-like objects, that is JSON + buffers)?

So that this would be an identify function: X => serialize(new Envelope(X)) (approximately). The consumer would be responsible for putting buffers in their JSON tree.

Personally I really like the structure of Envelope objects, it's easy and understandable, so if I could just serialize that object into an e-mail that'd mean a lot!

@wiktor-k
Copy link

Oh, I see my idea already has an issue: #10. Sorry for duplication :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants