Commit 57b375f0 authored by Cyril Matthey-Doret's avatar Cyril Matthey-Doret
Browse files

add oneliner to convert json to CSV

parent 40d6641d
Pipeline #332380 passed with stage
in 2 minutes and 33 seconds
......@@ -51,3 +51,9 @@ $ jq '.[].members[].name' forks.json \
```sh
jq -s '.[0] + .[1] | unique_by(.group)' run1.json run2.json > both_runs.json
```
* Make a CSV table from the flat JSON fields:
```sh
jq -r '.[] | [.id,.group,.url,.autostart_url] | @csv' forks.json
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment