I'm trying to convert an object that looks like this: { "123" : "abc", "231" : "dbh", "452" : "xyz" } To csv that looks like this: "123","abc" "231","dbh" "452","xyz" I would prefer to use the command line tool jq but can't seem to figure out how to do the assignment. I managed to get the keys with jq '. | keys' test.json but couldn't figure out what to do next. The problem is you can't convert a
![How to map an object to arrays so it can be converted to csv?](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)