Blog

Alexander Bird Software • Blog

Notes to myself
About

jq cheat sheet

Notes on cool things to do with the JSON processor tool

(Link to official jq docs)

Making .jq files executable

  $ echo '"World"' | ./greeting.jq
  {
    "hello": "World"
  }
  $ cat greeting.jq
  #!/usr/bin/env jq -f
  
  {
    hello: .
  }

Vim syntax highlighting

GitHub: vito-c/jq.vim


Written 2020-12