I have a field defined in my DAML template as
In my python integration it is being received as
[Decimal('200.0000000000'), Decimal( '186.0000000000'), Decimal('150.0000000000')].
The integration looks for this contract, picks it up and then tries to convert this into Json.
data = [ "readings" = request["values"] ]
The decimal array received this way doesn’t work - Object of type Decimal is not JSON serializable
How do I get this as
[200.0000000000, 186.0000000000, 150.0000000000]
Appreciate your help.