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

ObjectMapper Immutable JsonFactory #7

Open
vjkoskela opened this issue Mar 15, 2016 · 0 comments
Open

ObjectMapper Immutable JsonFactory #7

vjkoskela opened this issue Mar 15, 2016 · 0 comments

Comments

@vjkoskela
Copy link
Member

Currently getFactory() on ObjectMapper which returns an instance of JsonFactory is considered mutable because there are method(s) on the JsonFactory to control settings. Therefore, you are forced to use a mutable ObjectMapper if using stream serialization (as opposed to full object mapping). The immutability should be extended to include an immutable JsonFactory accessible by getFactory on immutable ObjectMapper instances.

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

1 participant