Sign inSign up

jfromaniello/json

By jfromaniello

•Updated almost 11 years ago

Image
0

998

jfromaniello/json repository overview

⁠json-docker

The very useful trentm/json⁠ command tool in a docker container.

This is useful for environments where you can't install anything but dockers, like CoreOS⁠.

⁠Usage

$ docker pull jfromaniello/json
$ alias json="docker run -i --rm jfromaniello/json"

Then you can use the command as always:

$ echo '{"foo":"bar"}' | json
{
  "foo": "bar"
}

$ echo '{"foo":"bar"}' | json foo
bar

$ echo '{"age":10}' | json -E 'this.age++'
{
  "age": 11
}

⁠License

MIT 2014 - José F. Romaniello

Tag summary

Content type

Image

Digest

sha256:346f88b8a…

Size

419.6 MB

Last updated

almost 11 years ago

docker pull jfromaniello/json