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

Json mapper automatically converts integer lists into double lists. #84

Closed
sahandilshan opened this issue Nov 14, 2019 · 1 comment · Fixed by #85
Closed

Json mapper automatically converts integer lists into double lists. #84

sahandilshan opened this issue Nov 14, 2019 · 1 comment · Fixed by #85

Comments

@sahandilshan
Copy link
Contributor

Description:
When we send a list of integers in a JSON document, JSON mapper converts that integer list into a double list.

@BuddhiWathsala
Copy link
Contributor

This issue occurs due to the reason that the Gson library has this issue. Since we are currently using Gson to convert JSON arrays to objects, this problem occurred.

As described in this question, we can use other libraries such as jackson to solve this issue.

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 a pull request may close this issue.

2 participants