jsonlist.push(Object.assign(process1_json,process2_json,process3_json,process4_json,process5_json, process6_json))
var j = JSON.stringify(jsonlist);
I can use console.log to get JSON output, but I want to generate a local JSON file.
It seems like JavaScript cannot read/write local files directly, so if I have to convert JSON to QJson then get a local JSON file?

You could do it by converting your JSON to a
QJsonObjectin C++, and then save it with that function :