siddhi-io/siddhi-map-json

Json mapper automatically converts integer lists into double lists.

sahandilshan opened this issue · 1 comments

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

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.