Json mapper automatically converts integer lists into double lists.
sahandilshan opened this issue · 1 comments
sahandilshan commented
Description:
When we send a list of integers in a JSON document, JSON mapper converts that integer list into a double list.
BuddhiWathsala commented
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.