Repository navigation
Convert nested JSON array to CSV #1770
Answered
by
aborruso
bryceschober
asked this question in
Q&A
|
Given JSON input including an array, like: {
"config": {
"this": 1,
"that": "something"
},
"data": [
{
"a": 30,
"b": 123.4
},
{
"a": 42,
"b": 432.1
},
...
]
}How would I select only the a,b
30,123.4
42,432.1I feel this this would be a very common use-case for a tool like this, and I have failed to find the answer I'm looking for in the documentation, so I conclude that I must not be using the correct terminology to find my answer. |
Answered by
aborruso
Mar 13, 2025
Replies: 1 comment 2 replies
|
Hi @bryceschober ! Definitely If The best I can come up with is but that's super-wordy ......... |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jq and miller :)