ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker SupportJSON Parsing error

Post new topicReply to topic
JSON Parsing error View previous topic :: View next topic
Author Message
MKHODER1
PostPosted: Thu May 07, 2020 12:04 pm Post subject: JSON Parsing error Reply with quote

Novice

Joined: 18 Aug 2018
Posts: 22

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
View user's profile Send private message
timber
PostPosted: Thu May 07, 2020 3:49 pm Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1111

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
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportJSON Parsing error
Jump to:



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
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.