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

Unwrap maps when serializing #13

Merged
merged 3 commits into from
Jun 8, 2018
Merged

Unwrap maps when serializing #13

merged 3 commits into from
Jun 8, 2018

Conversation

stevie400
Copy link
Contributor

This makes it so that Map and Multimap types are flattened a la beans. Any objections?

@zklapow @szabowexler @jhaber @kmclarnon @darcatron

@stevie400
Copy link
Contributor Author

Unfortunately I can't find a way to say "if this serializes to a json object, do that and add @Result"

@szabowexler
Copy link
Collaborator

It seems pretty reasonable to me, but eyeballing jackson is always a pain

@stevie400
Copy link
Contributor Author

Yeah, that's why the tests are so so important. I mainly wonder if there are any other types that should be flattened. Table?

@stevie400
Copy link
Contributor Author

Well, table deserialization is not currently supported: FasterXML/jackson-datatypes-collections#1, but I feel like supporting it in algebra still makes sense.

@stevie400 stevie400 merged commit 626c5a5 into master Jun 8, 2018
@stevie400 stevie400 deleted the unwrap-maps branch June 8, 2018 16:09
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

Successfully merging this pull request may close these issues.

2 participants