I want to convert this structure by selecting data from the table when I select it, I am going to convert it into JSON from database Sql 2017. ATTACHMENT MY QUERY
Select Medio_Pago AS [medio_pago] from Table_FacturacionElect
where Comprobante = '22' FOR JSON PATH,WITHOUT_ARRAY_WRAPPER
I wish to have this result excato
"medio_pago": [
"sample string 1"
],