We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
members_list.json がすごく JSON っぽくない。
members_list.json
$ cat tmp/members_list.json "U0122V68Q5A" "U01296D29H6" "U011S5JHAJX"
jq -r . で回してもいいような気がするけれどきちんと分かりやすい配列にしたい気がする。
jq -r .
メモ
$ echo '{"channel": {"members":["A","B","C"]} }'| jq . { "channel": { "members": [ "A", "B", "C" ] } }
配列にする
$ echo '{"channel": {"members":["A","B","C"]} }'| jq '[.channel.members[] | .]' [ "A", "B", "C" ]
The text was updated successfully, but these errors were encountered:
members_list.json を使っているところも見て回らないといかんのでわりとめんくさい。
Sorry, something went wrong.
No branches or pull requests
members_list.json
がすごく JSON っぽくない。jq -r .
で回してもいいような気がするけれどきちんと分かりやすい配列にしたい気がする。メモ
配列にする
The text was updated successfully, but these errors were encountered: