Timeline for jq print key and value for all in sub-object
Current License: CC BY-SA 4.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 7, 2024 at 19:32 | comment | added | milahu |
the format string should be "export \($key)=\(.[$key] | @sh)" see also JSON array to bash variables using jq
|
|
| Aug 13, 2019 at 12:02 | history | answered | Yordan Georgiev | CC BY-SA 4.0 |