I have received a response from API which is JSON array.
I want to convert it into corresponding JSON Object so that Material Table recognizes it.
The Response from API -

But it doesn't get a display in the table.
When I manually create the Array object like below then the table is populated-
let ELEMENT_DATA = [
{"policyID":"119736","state":"Rajasthan","dummy":"no"},
{policyID:"119736",state:"Las Vegas",country:"USA"}
];
console.log(ELEMENT_DATA);
TABLE is DYNAMIC. I cannot create a predefined class for it.
