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

No mentions to (not object-wrapped) array serializations #3

Closed
castarco opened this issue Jul 29, 2016 · 2 comments
Closed

No mentions to (not object-wrapped) array serializations #3

castarco opened this issue Jul 29, 2016 · 2 comments

Comments

@castarco
Copy link

SchemaPack is directly compared with some serialization formats like JSON and MessagePack. Both of them have the ability to directly serialize arrays, without the need of wrapping them into "objects", in the SchemaPack documentation there is no info about how to directly serialize arrays without having to wrap them in objects.

Is this possible? If no, maybe it should be convenient to explain it to make easier for other programmers which limitations has this serialization format.

@castarco castarco changed the title No mentions to array serializations No mentions to (not object-wrapped) array serializations Jul 29, 2016
@phretaddin
Copy link
Owner

phretaddin commented Jul 29, 2016

Do you mean something like this? https://github.com/phretaddin/schemapack/blob/master/README.md#add-type-aliases

You can directly serialize arrays. Maybe I should make a larger point of it. I kinda just included it in another example. It's a bit hidden away at the moment.

@phretaddin
Copy link
Owner

Updated the readme to better inform of this feature's existence.

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