Json – How to make a certain double cartesian product with jq?
Suppose I have this dataset: {"id": 99, "labeled_values": [["one", "green"], ["two", "red"], ["three", "blue"]], "flavors": ["hot", "cold"]} {"id": 100, "labeled_values": [["four", "green"], ["five", "red"]], "flavors": ["hot"]} and I would like this output (tab-separated): 99 one green hot 99 two red…