Json deserialization decimal type with scientific notation
Question
Platform Version
11.15.0.34574

We got below error when call a restful api which have scientific notation in json decimal value. 

Failed to parse response of the method 'GetPXXXX' of the 'PXXX' REST API:
Parsing 'Items[12].Value.Value': Input string '-1.68607584E+30' is not a valid decimal. Path 'Items[12].Value.Value', line 1, position 7002.

Anyone can give some advise?

Thanks.


Can you hold the  value of "Value" param in a text type field and then do the conversion according to you requirement.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.