I have a json which I need help with breaking into key value pair. "lint-info": {
"-Wunused-but-set-variable": [
{
"location": {
"column": 58,
"filename": "ab1",
"line": 237
},
"source": "logic [MSGG_RX_CNT-1:0][MSGG_RX_CNT_MAXWIDTH+2:0] msgg_max_unrsrvd_temp; // temp value including carry out",
"warning": "variable 'msgg_max_unrsrvd_temp' is assigned but its value is never used"
},
{
"location": {
"column": 58,
"filename": "ab2",
"line": 254
},
"source": "logic msgg_avail_cnt_err; // Available Counter update error detected",
"warning": "variable 'msgg_avail_cnt_err' is assigned but its value is never used"
}
],
"-Wunused-genvar": [
{
"location": {
"column": 11,
"filename": "ab3",
"line": 328
},
"source": "genvar nn,oo;",
"warning": "unused genvar 'oo'"
}
],
"total": 3,
"types": [
"-Wunused-but-set-variable",
"-Wunused-genvar"
]
}, I need to get a table with Type, filename, line values like below Type Filename Line -Wunused-but-set-variable. ab1. 237 -Wunused-but-set-variable. ab2 254 -Wunused-genvar ab3 328 Thanks
... View more