This repo simply wraps http://trentm.com/json in a convenient Docker image.
Creating an alias like
alias json='docker run --rm -i matthewadams12/json json'
is pretty darned convenient.
$ echo '"foo"' | json
foo
$ echo '{"foo":"bar"}' | json foo
bar
etc...