I might need to mock an API that returns JSON containing, among other things, a value in the format of decimal with 0 at the end. No quotation marks, so something like {"some":"stuff", "balance": 1000.0}. However when I create a stub with jsonBody like that, the point zero part is missing, so 1000.0 turns into 1000. Is there anything I can do?
Asked
Active
Viewed 111 times
1
-
I'm now running into this problem. Did you ever get an answer to this? – Craig Brett Jul 06 '22 at 13:23