jsonlint icon indicating copy to clipboard operation
jsonlint copied to clipboard

A JSON parser and validator with a CLI.

Results 80 jsonlint issues
Sort by recently updated
recently updated
newest added

Is it possible to output the line number of line of a place where the schema error occured? If that is possible, then it can be parsed by the text...

But how?!?! https://github.com/zaach/jsonlint/blob/master/src/jsonlint.l#L9

http://stackoverflow.com/questions/2287967/why-is-it-recommended-to-have-empty-line-in-the-end-of-file

I've noticed a couple of issues in the reformatted output when there's escapes in the input: 1. disappearing slashes. This represents a two-character string, not a newline escape: - in:...

Please add an option for C-style object and array braces. Java-style (current): ``` javascript { "foo" : { "bar" : 10 }, "lol" : [ "rofl", "lmao" ] } ```...

I had an app that was giving unterminated string constant exceptions in jQuery/Firefox and Illegal Character exceptions in jQuery/Chrome. I ran my JSON content through JSONLint and it reported the...

The following console interaction should explain the issue. ``` $ curl http://host/file.json | jsonlint | head -4 { "some-key": "some-value", "array": [ { events.js:72 throw er; // Unhandled 'error' event...

Right now the default error messages are pretty hard to parse by humans. It would be great if the error messages could be a bit friendlier, such as: The 'foo'...

I'm using the checker under web/ In Internet Explorer 11, if you paste this text :: { "Accept-Language": "en-US,en;q=0.8" "Host": "headers.jsontest.com", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,_;q=0.3", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,_/*;q=0.8" } you get an [Object...