flatten json object using jq
I have the following json object: { "id":1, "activities":[ {"time":1659800397,"cities":["london","paris"],"type":1}, {"time":1659800411,"cities":["rome"], "type":2} ] } I would like to flatten it to the following tab separated structure, perhaps using jq id time cities type 1 1659800397 london 1 1 1659800397 paris…