I have a file output called file.json. I need to convert this file to a .csv file for better viewing since this is the output of AQL.
{
“results” : [{
“file” : ”abc-trip-typ”
“path” : “pit/pop/tracker”
“type” : “file”
“created” : “2018–05-05:09:00”
“properties” : [ {
“tracker” : “file.name”,
“value” : “PRN_TY.0.0”
}, {
“tracker” : “file.number”
“value” : “9”
} ],
“stats” : [ {
“downloaded” : “2018-05-05:10:00”,
“downloads” : 10
} ]
}
There are multiple such fields with same parameters which I need to convert to a CSV format i.e in a .csv file. Would appreciate any sorts of leads for the same.