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

Issue 6, MultiMap deserializer fix #8

Merged
merged 2 commits into from
May 29, 2016

Conversation

LokeshN
Copy link
Contributor

@LokeshN LokeshN commented May 21, 2016

Fix for #6 Multimap deserializer does not honor DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY.

If the option DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY is enabled, then if there is a single value, then I create a singleton list and add the value to it.
For the same option, I am allowing multiple array values also.

Let me know if this is fine.

Fix for Multimap deserializer does not honor
DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY
@cowtowncoder
Copy link
Member

First of all, thank you for submitting this: sounds like a good improvement.
I don't know enough details to know for sure, but I have no problems with implementation.

@stevenschlansker WDYT?

Moving the testcases to the right test class
@cowtowncoder
Copy link
Member

Ok, I'll take this as "yeah sure", so let's do it.

@cowtowncoder cowtowncoder merged commit b85de9e into FasterXML:master May 29, 2016
@cowtowncoder cowtowncoder added this to the 2 milestone May 29, 2016
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