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

Fix documentation on convertValue() #2590

Closed
Logic-32 opened this issue Jan 10, 2020 · 2 comments
Closed

Fix documentation on convertValue() #2590

Logic-32 opened this issue Jan 10, 2020 · 2 comments

Comments

@Logic-32
Copy link

#2220 changed ObjectMapper.convertValue() to always (de)serialize values instead of trying to intelligently return an object if it doesn't need converted but the documentation still suggest it is trying to be intelligent. Can the docs be updated to reflect current behavior?

Ref:

* If given value is already of requested type, value is returned as is.

@cowtowncoder
Copy link
Member

Good point, yes.

@cowtowncoder
Copy link
Member

Updated javadocs for ObjectMapper in 2.10.

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