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

Remove ObjectMapper duplicate #2

Open
juancki opened this issue Jun 14, 2022 · 0 comments
Open

Remove ObjectMapper duplicate #2

juancki opened this issue Jun 14, 2022 · 0 comments

Comments

@juancki
Copy link

juancki commented Jun 14, 2022

I understand that this project is stale and this might be talking to a void, etc...

However, apparently the class JsonBodyHandler.java is referenced in Twilio's article about making HTTP requests in Java.

The class defines a static ObjectMapper in here that is never used.

And then it creates a new ObjectMapper each time the function is called in here. This is totally against Jackson's recommendations on using ObjectMapper.

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