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.
$ 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
}
MIT 2014 - José F. Romaniello
Content type
Image
Digest
sha256:346f88b8a…
Size
419.6 MB
Last updated
almost 11 years ago
docker pull jfromaniello/json