1

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?

FoxMulder
  • 11
  • 2

0 Answers0