Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

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

Docker Pull Command
Owner
jfromaniello
Source Repository