I need to get the below Json data into a pandas DataFrame. This is a case of nested JSON which consists of multiple lists and dicts .
{
"status" : "success",
"data" : {
"resultType" : "vector",
"result" : [
{
"metric" : {
"__name__":"request_time_summary_count",
"api":"USSD",
"instance":"10.104.3.50:8080",
"job":"service-endpoints",
"operation":"MO"
},
"value": [ 1660136610.587, "3" ]
},
{
"metric" : {
"__name__":"request_time_summary_count",
"api":"USSD",
"instance":"service.default.svc:8080",
"job":"ETD-ussd",
"operation":"MO"
},
"value" : [ 1660136610.587, "4" ]
}
]
}
}
Expected format as follows: enter image description here