Skip to content

Modify ObjectReader._parserFactory comment #5097

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

Conversation

songsunkook
Copy link
Contributor

Summary

This PR corrects the misleading Javadoc comment for the _parserFactory field in ObjectReader.

Description

ObjectReader is part of the read (deserialization) pipeline in Jackson.

It never constructs or uses JsonGenerator; that is the responsibility of ObjectWriter, which handles write (serialization) operations.

In ObjectReader, it is clearly used for constructing JsonParser, making the existing comment inaccurate and potentially confusing.

@cowtowncoder
Copy link
Member

Thank you @songsunkook !

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