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

Add caseInsensitive option to @JsonSubTypes #2026

Closed
buremba opened this issue May 7, 2018 · 1 comment
Closed

Add caseInsensitive option to @JsonSubTypes #2026

buremba opened this issue May 7, 2018 · 1 comment
Labels
duplicate Duplicate of an existing (usually earlier) issue

Comments

@buremba
Copy link

buremba commented May 7, 2018

Following up our previous discussion with @cowtowncoder I think that it would be useful to have the case-insensitive option for subtypes. The workaround is not that easy.

@cowtowncoder
Copy link
Member

I think this was implemented by #1983 (to be included in 2.11.0, available in 2.11.0.rc1 pre-release). One has to enable:

MapperFeature.ACCEPT_CASE_INSENSITIVE_VALUES

and should then work.

@cowtowncoder cowtowncoder added the duplicate Duplicate of an existing (usually earlier) issue label Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Duplicate of an existing (usually earlier) issue
Projects
None yet
Development

No branches or pull requests

2 participants