jsonlint-mod
Advanced tools
Comparing version 1.7.2 to 1.7.3
@@ -424,3 +424,2 @@ /* Jison generated parser */ | ||
} catch(e) { | ||
console.error(e); | ||
if(/Duplicate key|Bad string|Unexpected/.test(e.message)) { | ||
@@ -427,0 +426,0 @@ var lineNumber = input.substring(0, e.at).split('\n').length; |
@@ -11,3 +11,3 @@ { | ||
], | ||
"version": "1.7.2", | ||
"version": "1.7.3", | ||
"preferGlobal": true, | ||
@@ -14,0 +14,0 @@ "repository": { |
JSON Lint [![npm version](https://badge.fury.io/js/jsonlint-mod.svg)](https://badge.fury.io/js/jsonlint-mod) | ||
========= | ||
The fork is modified version of [jsonlint](http://zaach.github.com/jsonlint/) with the following features: | ||
The fork is a modified version of [jsonlint](http://zaach.github.com/jsonlint/) enhanced by the original Douglas Crockford's JSON parser which brought the following features: | ||
- Handle hidden chars | ||
@@ -12,2 +13,3 @@ - Handle key duplicates | ||
## Command line interface | ||
Install jsonlint with npm to use the command line interface: | ||
@@ -14,0 +16,0 @@ |
@@ -784,3 +784,2 @@ var jsonlint = (function(){var require=true,module=false;var exports={};/* | ||
} catch(e) { | ||
console.error(e); | ||
if(/Duplicate key|Bad string|Unexpected/.test(e.message)) { | ||
@@ -787,0 +786,0 @@ var lineNumber = input.substring(0, e.at).split('\n').length; |
93479
70
52
2293