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

Deserialize WRAPPER_ARRAY with no second parameter as null value #2468

Merged
merged 1 commit into from
Sep 20, 2019
Merged

Deserialize WRAPPER_ARRAY with no second parameter as null value #2468

merged 1 commit into from
Sep 20, 2019

Conversation

colltoaction
Copy link
Contributor

@colltoaction colltoaction commented Sep 20, 2019

Fixes #2467.

This PR will allow users to handle optional second parameters when using JsonTypeInfo.As.WRAPPER_ARRAY. A custom deserializer would allow to create a new instance or return a singleton without much effort. The default behavior is to return null.

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