#jq コマンドで配列を解除してまた囲む例
Failed
this case make three JSONs
$ echo '[1,2,3]' | jq '.[] | [.]' 1
[
1
]
[
2
]
[
3
]
Success
It makes one JSON has one whole array has multiple elements
$ echo '[1,2,3]' | jq '[.[]]' 1
[
1,
2,
3
]
Original by Github issue
Author And Source
この問題について(#jq コマンドで配列を解除してまた囲む例), 我々は、より多くの情報をここで見つけました https://qiita.com/YumaInaura/items/25eafa0df74ce49a815b著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .