I believe this is a bug, PAD version I am using is 2.18.146.22083
To reproduce follow these steps:
SET DataTable TO { ^['ProductID', 'ProductName'], [1, 'FirstProduct'], [2, 'SecondProduct'] }
SET CustomObject TO {{ }}
SET CustomObject['Table'] TO DataTable
Variables.ConvertCustomObjectToJson CustomObject: CustomObject Json=> CustomObjectAsJson
Resulting JSON:
{"Table":[{"ProductID":1.0,"ProductName":"FirstProduct"},{"ProductID":2.0,"ProductName":"SecondProduct"}]}
Hi @John_Mavridis ,
Hope you are doing well!
tagging you here as you replied on another JSON related issue. Could you please review this thread and inform if this is a bug. For some reason integer values become decimal when exporting to JSON.
Thank you in advance,
Rob