|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JSON Parsing error |
« View previous topic :: View next topic » |
Author |
Message
|
MKHODER1 |
Posted: Thu May 07, 2020 12:04 pm Post subject: JSON Parsing error |
|
|
Novice
Joined: 18 Aug 2018 Posts: 24
|
Hi everyone,
I call a webservice via the httpRequest neoud, the backend returns an amount, the type of the amount is BigDecimal with 36 digits after the decimal point (Ex: -689.143550568954437010030942347717800000).
The format of the response is JSON, I have selected the response property parsing JSON and at the output of the httpRequest node a parsing error Too many digits in coefficient.
I added the environment variable MQSI_JSON_NUMBER_PRECISION_TYPE = DECIMAL, I restart the integration node then I tested and I still have the same error.
Has anyone ever had the same use case or error ?
Many thanks |
|
Back to top |
|
 |
timber |
Posted: Thu May 07, 2020 3:49 pm Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1152
|
No, and there is no evidence on the internet that anybody else has encountered that error.
36 digits of precision is far more than any business scenario could ever require, so I'm not surprised that it's a rare requirement. If the requirement is genuine, and if you _must_ deal with this as a number, then I suggest that you open a ticket with IBM and see if there is a workaround. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|