I am getting a query response in the attached image and I need to convert the same to required format in java code with Spring boot jdbc.
I need following type of response from attached image.
“providerMeasureTable”:[
{
“name”: “William Sparks”,
“test”:[
{
“name”: “Diabetes: Haemoglobin A1c (HbA1c) Poor Control (>9%)”,
“completion”:83.3,
“performance”:12.0
}
,{
“name”:”Screening for Osteoporosis for Women Aged 65-85 Years of Age”,
“completion”:88.7,
“performance”:73.6
},
{
“name”: “Advance Care Plan”,
“completion”:88.1,
“performance”:84.3
},
{
“name”: “Lung Cancer Reporting (Resection Specimens)”,
“completion”:88.1,
“performance”:86
}
}
]