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

Serialization #271

Open
ArnaudBuchholz opened this issue Aug 2, 2018 · 0 comments
Open

Serialization #271

ArnaudBuchholz opened this issue Aug 2, 2018 · 0 comments
Assignees
Labels

Comments

@ArnaudBuchholz
Copy link
Owner

Stories

  • As a developer, I want to be able to serialize objects from and to different formats (JSON, XML, CSV, binary?) through a single helper
  • As a developer, I want to be able to decide how serialization is done through attributes

Ideas

  • Methods allocate pipe-able streams
  • Provide global and extensible methods gpf.serial.to(value, format, formatOptions), gpf.serial.from(format, formatOptions)
  • Primitive types should be handled
  • By default, all properties of a class are serialized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant