I have the JSON as at bottom. If I send it to jq '.a[].b I get
[
"x1",
"x2"
]
[
"y1",
"y2"
]
How do I instead get line-by-line output, no brackets, quotes, or commas, like this:
x1
x2
y1
y2
The input JSON is:
{
"a": [
{
"b": [
"x1",
"x2"
],
"z": "z"
},
{
"b": [
"y1",
"y2"
],
"w": "w"
}
]
}