I have a json array like this:
{
"TagsDictionary": [
{
"key" : "property1",
"value" : "property1Value"
},
{
"key" : "property2",
"value" : "property2Value"
}
]
}
I need to query it in T-SQL. I want this result:
property1 | property2
property1Value | property2Value
I read docs. But I can't achieve result with my structure. Unfortunately the JSON is stored in the database and I can't change it, because other modules depends on it.
I'm using SQL Server 2016.
"TagsDictionary"JSON array?