I am using react to fetch Json data from an API, however, the API includes a key that has an object formatted as a String. See example below:
user_category:"employee",
user_info:"{"user_id":"55","user_age":"27","user_company":"tesla"}"
To access the user-category, I simply use a header with an accessor, and the value displays on the table just fine, however I am having difficulties accessing the user_info key String using its keys and values using something like this:
{
Header: "User Id",
accessor: "user_info.user_id"
},
{
Header: "User Age",
accessor: "user_info.user_age"
},
{
Header: "User Company",
accessor: "user_info.user_company"
}