Question
Bug ? JSON array returns {} from data table
- July 27, 2019
- 2 replies
- 2978 views
Hi,
I have a data table and one of the fields is JSON type . I can write a JSON object into the table successfully, but when getting the JSON object back, the array property of the JSON object becomes {}.
The workaround is that I have to convert the array field into String and then call JSON.parse to get the JSON array back .
Is it a known issue ?
I uploaded a reproducible XML file for the problem , you can run AddJsonValue firstly , then run GetJson to observe the log .
ThingWorx 8.4.2 + PostgreSQL 10
Regards,
Sean

