zaach/jsonlint — pull request #32 by tmcw (2013-07-24 16:21:44+00:00)
Title: Add line output [experimental]

Note: relatively hacky, sketchy, weird code since I'm a parsing noob.

This adds non-enumerable `__line__` properties to objects and arrays so that higher-level validators can give more accurate tracebacks.

It can't do so with numbers and booleans because javascript.

Maybe this would make sense as an option in jsonlint, if it could be made an option.