What are good CLI tools for JSON?

I just found this:

http://stedolan.github.io/jq/

“jq is a lightweight and flexible command-line JSON processor.”

2014 update:

@user456584 mentioned:

There’s also the ‘json’ command (e.g. ‘jsontool’). I tend to prefer it over jq. Very UNIX-y. Here’s a link to the project: github.com/trentm/json –

in the json README at http://github.com/trentm/json there is a long list of similar things

  • jq: http://stedolan.github.io/jq/
  • json:select: http://jsonselect.org/
  • jsonpipe: https://github.com/dvxhouse/jsonpipe
  • json-command: https://github.com/zpoley/json-command
  • JSONPath: http://goessner.net/articles/JsonPath/, http://code.google.com/p/jsonpath/wiki/Javascript
  • jsawk: https://github.com/micha/jsawk
  • jshon: http://kmkeen.com/jshon/
  • json2: https://github.com/vi/json2
  • fx: https://github.com/antonmedv/fx

Leave a Comment