WARNING for Ubuntu/Debian users: There is a current bug in Debian stable
such that "apt-get install nodejs" installed a nodejs binary instead of a
node binary. You'll either need to create a symlink for node, change the
json command's shebang line to "#!/usr/bin/env nodejs" or use
chrislea's PPA as
discussed on issue #56. You can also do "apt-get install nodejs-legacy" to install symlink for node with apt.

Test suite

make test

You can also limit (somewhat) which tests are run with the TEST_ONLY envvar,
e.g.:

cd test && TEST_ONLY=executable nodeunit test.js

I test against node 0.4 (less so now), 0.6, 0.8, and 0.10.

License

MIT (see the fine LICENSE.txt file).

Module Usage

Since v1.3.1 you can use "json" as a node.js module:

var json = require('json');

However, so far the module API isn't that useful and the CLI is the primary
focus.

npm Package Name

Once upon a time, json was a different thing (see zpoley's json-command
here), and this module was
called jsontool in npm. As of version 8.0.0 of this module, npm install json
means this tool.

If you see documentation referring to jsontool, it is most likely
referring to this module.