Json – Using jq to group-concat fields by field name prefix
I have a json file like this, I woiuld like to have a jq based solution to transform this: { ... fields1 ... "any": [], "other": 1, "aa.2": "second.", "aa.1": "first ", ... fields2 ... "bla.bla.0": "aa", "bla.bla.2": "bb", ...…