LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

JSON string to HTML

Please Guide me to convert the table data with properties to JSON format

0 Kudos
Message 1 of 4
(336 Views)

Hi Mannaa,

 


@Mannaa1998 wrote:

Please Guide me to convert the table data with properties to JSON format


Please explain what you really need!

Your thread title wants "JSON to HTML", your message texts needs "data table to JSON"…

 

Please provide examples for your input data and the expected output data!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(330 Views)

My requirement is I need to create a test report with JSON format. My issue was If i save the table in JSON format it only save the data. I need to save the table properties also in JSON format. because after saving the report in JSON format I need to read the report in HTML format also. I want table properties like below while converting JSON format. 

JSON format of HTML report.PNG

0 Kudos
Message 3 of 4
(317 Views)

Hi Mannaa,

 


@Mannaa1998 wrote:

My requirement is I need to create a test report with JSON format. My issue was If i save the table in JSON format it only save the data. I need to save the table properties also in JSON format.


Where do these tables/table properties come from?

How do you convert "table to JSON" right now?

 

Why can't you read the table properties and add them to your JSON formatted text?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(302 Views)