Closed johanwk closed 10 months ago
@johanwk If you return a list of objects (all sharing the same keys) and specify :results table
, you will get an org table with a header (using the keys as headers). No need to convert them using @csv
.
Sorry about this late reply -- thanks for explaining how it's supposed to work!
When the jq block ends with
@csv
, somehow the results aren't converted into a table in org-mode, but returned as quoted and comma-separated strings. Adding:results table
doesn't help. Is this just me?Using: Emacs 29.1 on Windows, org 9.6.10, jq-mode-20230823.1003.