I am trying to output my data after transformations in mapping dataflow to a json file. But the records ends up as separate set of json objects and not joined by commas enclosed in array as shown below:
file contents: {k1:v1,k2:v2} {k1:v3,k2:v4}
Expected: [{k1:v1,k2:v2}, {k1:v3,k2:v4}]
This is causing a problem while reading as it is not a valid json. The same problem can be fixed in copy activity as there is a setting to output as array of objects and not set of objects.
Can anyone help pls..


