Sign inSign up

saltaaron/just-jq

By saltaaron

•Updated almost 4 years ago

Image
0

2.1K

saltaaron/just-jq repository overview

⁠just-jq

Github repo here⁠

⁠Usage

echo '{"foo": 0}' | docker run --rm -i saltaaron/just-jq .

It is especially handy when it's difficult to install jq (say in a Github action workflow) but you need to quickly parse a value like so: http httpbin.org/anything|docker run --rm -i saltaaron/just-jq -C -r '.headers."X-Amzn-Trace-Id"'

Returning: Root=1-604337cb-07b199d6109073fa0859d4a1

And to really go all out: docker run --rm saltaaron/just-httpie --pretty none --body httpbin.org/anything|docker run --rm -i saltaaron/just-jq -r '.headers."X-Amzn-Trace-Id"'

⁠Design

Just a containerized way of calling the amazing tool that is jq. See https://stedolan.github.io/jq/⁠

Tag summary

Content type

Image

Digest

sha256:b361f2e01…

Size

3.6 MB

Last updated

almost 4 years ago

docker pull saltaaron/just-jq