0

I am able to display as below enter image description hereHow to display the data in PrimeNG turbo table ? Json data value may contains the Json object or array. And I want to display in proper format. Here I am receiving the data by REST API call, and key is string but not sure which data type value is.

Ex: JSON Data is

{
    "data" :[
        {"key": "Description", "value": "This is controller"},
        {"key": "Name", "value": [{"key","lastName", "value", "XYZ"},
            "key","firstName", "value", "ABC"              
            ]},
        {"key": "SerialNumber", "value": ["1000", "89881"]},
        {"key": "ModelNumber", "value" : "10009WR7773"}
    ]
}

Note: We are receiving JSON data from rest api dynamically

enter image description here Output should be as attached screenshot

Please help me in resolving this issue, thanks

0 Answers0