bash-git-prompt: An informative and fancy bash prompt for Git users
❯ echo '[1,2,"testing"]' | jq
❯ cat ./wsl-book.json | jq ".parts[].name"
❯ cat/wsl-book.json | jq ".title"
❯ BOOK_TITLE=$(cat /wsl-book.json | jq ".title" -r)
❯ cat ./wsl-book.json | jq ".parts"
❯ cat ./wsl-book.json | jq ".parts[0].name"
❯ cat ./wsl-book.json | jq ".parts[].name"
❯ cat ./wsl-book.json | jq '.parts[] | {name}'
❯ cat ./wsl-book.json | jq '.parts[] | {name: .name, chapter_count: .chapters | length}'
❯ cat ./wsl-book.json | jq '[.parts[] | {name: .name, chapters: [.chapters[] | .title]}]'