Liking cljdoc? Tell your friends :D

CLI utility

clj-jq: jackson-jq based command-line JSON processor.

Installation

For MacOS and linux use brew:

brew install dainiusjocas/brew/clj_jq

Upgrade:

brew upgrade clj-jq

Or download the latest binaries yourself from Github release page.

In case you're running MacOS then give run permissions for the executable binary:

sudo xattr -r -d com.apple.quarantine clj-jq

Options

clj-jq 1.1.0
jackson-jq based command-line JSON processor
Usage: clj-jq [options] jq-filter [file...]
Supported options:
  -h, --help

Examples

echo "[1,2,3,4]" | ./clj-jq '
.
| map(.+1)
| reverse
'
#=> [5,4,3,2]

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close