Since ADF (Azure Data Factory) isn't able to handle complex/nested JSON objects, I'm using OPENJSON in SQL to parse the objects. But, I can't get the 'raw' JSON from the following object:
{
"rows":[
{
"name":"Name1",
"attribute1":"attribute1",
"attribute2":"attribute2"
},
{
"name":"Name2",
"attribute1":"attribute1",
"attribute2":"attribute2"
},
{
"name":"Name3",
"attribute1":"attribute1",
"attribute2":"attribute2"
}
]
}
Config 1
I get all the names listed
- Name1
- Name2
- Name3
Result:
Config 2
When I use this config:
I get the whole JSON in one record:
- [ {{full JSON}} ]
Result:
Needed config
But, what I want, is this result:
- { "name":"Name1", "attribute1":"attribute1", "attribute2":"attribute2 }
- { "name":"Name2", "attribute1":"attribute1", "attribute2":"attribute2 }
- { "name":"Name3", "attribute1":"attribute1", "attribute2":"attribute2 }
Result:
So, I need the iteration of Config 1, with the raw JSON per row. Everytime I use the $['rows'], or $['rows'][0], it seems to 'forget' to iterate.
Anyone?















