├── .editorconfig ├── .eslintignore ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .vscode ├── launch.json └── settings.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── benchmarks ├── README.md ├── chevrotain │ ├── extended.js │ └── pure.js ├── common │ ├── createGuard.js │ └── createSuite.js ├── fail.js ├── hand-built │ ├── extended.js │ └── pure.js ├── jison │ ├── extended.l │ ├── extended.y │ ├── pure.l │ └── pure.y ├── jju │ ├── extended.js │ ├── original.js │ ├── pure.js │ ├── tokenizing.js │ └── unicode.js ├── myna │ └── pure.js ├── nearley │ └── pure.ne ├── package.json ├── parse.js ├── pegjs │ ├── extended.pegjs │ └── pure.pegjs ├── pnpm-lock.yaml └── results │ ├── errorReportingQuality.md │ ├── evaluation.md │ └── performance.md ├── biome.json ├── lib ├── cli.js ├── formatter.js ├── index.d.ts ├── printer.js ├── sorter.js └── validator.js ├── package.json ├── pnpm-lock.yaml ├── rollup.config.mjs ├── src ├── ajv.js ├── configurable-parser.js ├── custom-parser.js ├── native-parser.js ├── pointer.js ├── prefix.js.txt ├── suffix.js.txt └── unicode.js ├── test ├── .jsonrc.yml ├── fails │ ├── 10.json │ ├── 11.json │ ├── 12.json │ ├── 13.json │ ├── 14.json │ ├── 15.json │ ├── 16.json │ ├── 17.json │ ├── 19.json │ ├── 2.json │ ├── 20.json │ ├── 21.json │ ├── 22.json │ ├── 23.json │ ├── 24.json │ ├── 25.json │ ├── 26.json │ ├── 27.json │ ├── 28.json │ ├── 29.json │ ├── 3.json │ ├── 30.json │ ├── 31.json │ ├── 32.json │ ├── 33.json │ ├── 34.json │ ├── 4.json │ ├── 5.json │ ├── 6.json │ ├── 7.json │ ├── 8.json │ ├── 9.json │ └── bom.json ├── parse1.js ├── parse2.js ├── parse3.js ├── parse4.js ├── parse5.js ├── passes │ ├── 1.json │ ├── 2.json │ ├── comments.txt │ ├── data-04.json │ ├── data-07.json │ ├── data-ext-deps.json │ ├── data-int-deps.json │ ├── data-jtd.json │ ├── hasOwnProperty.json │ ├── json5.text │ ├── schema-04.json │ ├── schema-07.json │ ├── schema-ext-deps-number.json │ ├── schema-ext-deps-phone.json │ ├── schema-ext-deps-string.json │ ├── schema-ext-deps.json │ ├── schema-int-deps.json │ ├── schema-jtd.json │ └── strings.txt ├── portable.js ├── portable.yaml ├── print.js ├── recursive │ ├── 1.json │ ├── 2.json │ ├── 3.json │ ├── boot │ │ └── auth.js │ ├── colors │ │ ├── 3.json │ │ └── colors.js │ └── foo │ │ ├── 3.json │ │ ├── bar │ │ ├── 3.json │ │ ├── bar.js │ │ └── baz │ │ │ ├── 1.json │ │ │ ├── 2.json │ │ │ ├── 3.json │ │ │ └── baz.js │ │ └── foo.js ├── tokenize.js ├── types.test.ts ├── v8.js └── v8 │ ├── arrays │ ├── empty-array.json │ ├── no-comma-array.txt │ ├── regular-array.json │ └── trailing-comma-array.json5 │ ├── comments │ ├── block-comment-following-array-element.json5 │ ├── block-comment-following-top-level-value.json5 │ ├── block-comment-in-string.json │ ├── block-comment-preceding-top-level-value.json5 │ ├── block-comment-with-asterisks.json5 │ ├── inline-comment-following-array-element.json5 │ ├── inline-comment-following-top-level-value.json5 │ ├── inline-comment-in-string.json │ ├── inline-comment-preceding-top-level-value.json5 │ ├── top-level-block-comment.txt │ ├── top-level-inline-comment.txt │ └── unterminated-block-comment.txt │ ├── misc │ ├── empty.txt │ ├── npm-package.json │ ├── npm-package.json5 │ └── readme-example.json5 │ ├── numbers │ ├── binary-coffeescript.txt │ ├── float-leading-decimal-point.json5 │ ├── float-leading-zero.json │ ├── float-trailing-decimal-point-with-integer-exponent.json5 │ ├── float-trailing-decimal-point.json5 │ ├── float-with-integer-exponent.json │ ├── float.json │ ├── hexadecimal-empty.txt │ ├── hexadecimal-lowercase-letter.json5 │ ├── hexadecimal-uppercase-x.json5 │ ├── hexadecimal-with-integer-exponent.json5 │ ├── hexadecimal.json5 │ ├── infinity.json5 │ ├── integer-with-float-exponent.txt │ ├── integer-with-hexadecimal-exponent.txt │ ├── integer-with-integer-exponent.json │ ├── integer-with-negative-float-exponent.txt │ ├── integer-with-negative-hexadecimal-exponent.txt │ ├── integer-with-negative-integer-exponent.json │ ├── integer-with-negative-zero-integer-exponent.json │ ├── integer-with-positive-float-exponent.txt │ ├── integer-with-positive-hexadecimal-exponent.txt │ ├── integer-with-positive-integer-exponent.json │ ├── integer-with-positive-zero-integer-exponent.json │ ├── integer-with-zero-integer-exponent.json │ ├── integer.json │ ├── lone-decimal-point.txt │ ├── nan.js │ ├── negative-binary-coffeescript.txt │ ├── negative-float-leading-decimal-point.json5 │ ├── negative-float-leading-zero.json │ ├── negative-float-trailing-decimal-point.json5 │ ├── negative-float.json │ ├── negative-hexadecimal.js │ ├── negative-infinity.json5 │ ├── negative-integer.json │ ├── negative-octal-coffeescript.txt │ ├── negative-octal.txt │ ├── negative-zero-binary-coffeescript.txt │ ├── negative-zero-float-leading-decimal-point.json5 │ ├── negative-zero-float-trailing-decimal-point.json5 │ ├── negative-zero-float.json │ ├── negative-zero-hexadecimal.js │ ├── negative-zero-integer.json │ ├── negative-zero-octal-coffeescript.txt │ ├── negative-zero-octal.txt │ ├── octal-coffeescript.txt │ ├── octal.txt │ ├── positive-binary-coffeescript.txt │ ├── positive-float-leading-decimal-point.json5 │ ├── positive-float-leading-zero.json5 │ ├── positive-float-trailing-decimal-point.json5 │ ├── positive-float.json5 │ ├── positive-hexadecimal.js │ ├── positive-infinity.json5 │ ├── positive-integer.json5 │ ├── positive-octal-coffeescript.txt │ ├── positive-octal.txt │ ├── positive-zero-binary-coffeescript.txt │ ├── positive-zero-float-leading-decimal-point.json5 │ ├── positive-zero-float-trailing-decimal-point.json5 │ ├── positive-zero-float.json5 │ ├── positive-zero-hexadecimal.js │ ├── positive-zero-integer.json5 │ ├── positive-zero-octal-coffeescript.txt │ ├── positive-zero-octal.txt │ ├── zero-binary-coffeescript.txt │ ├── zero-float-leading-decimal-point.json5 │ ├── zero-float-trailing-decimal-point.json5 │ ├── zero-float.json │ ├── zero-hexadecimal.json5 │ ├── zero-integer-with-integer-exponent.json │ ├── zero-integer.json │ ├── zero-octal-coffeescript.txt │ └── zero-octal.txt │ ├── objects │ ├── empty-object.json │ ├── illegal-unquoted-key-number.txt │ ├── illegal-unquoted-key-symbol.txt │ ├── leading-comma-object.txt │ ├── lone-trailing-comma-object.txt │ ├── no-comma-object.txt │ ├── reserved-unquoted-key.json5 │ ├── single-quoted-key.json5 │ ├── trailing-comma-object.json5 │ └── unquoted-keys.json5 │ ├── strings │ ├── escaped-single-quoted-string.json5 │ ├── multi-line-string.json5 │ ├── single-quoted-string.json5 │ └── unescaped-multi-line-string.txt │ └── todo │ ├── unicode-escaped-unquoted-key.json5 │ └── unicode-unquoted-key.json5 └── web └── jsonlint.html /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/.eslintignore -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/README.md -------------------------------------------------------------------------------- /benchmarks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/README.md -------------------------------------------------------------------------------- /benchmarks/chevrotain/extended.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/chevrotain/extended.js -------------------------------------------------------------------------------- /benchmarks/chevrotain/pure.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/chevrotain/pure.js -------------------------------------------------------------------------------- /benchmarks/common/createGuard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/common/createGuard.js -------------------------------------------------------------------------------- /benchmarks/common/createSuite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/common/createSuite.js -------------------------------------------------------------------------------- /benchmarks/fail.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/fail.js -------------------------------------------------------------------------------- /benchmarks/hand-built/extended.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/hand-built/extended.js -------------------------------------------------------------------------------- /benchmarks/hand-built/pure.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/hand-built/pure.js -------------------------------------------------------------------------------- /benchmarks/jison/extended.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/jison/extended.l -------------------------------------------------------------------------------- /benchmarks/jison/extended.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/jison/extended.y -------------------------------------------------------------------------------- /benchmarks/jison/pure.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/jison/pure.l -------------------------------------------------------------------------------- /benchmarks/jison/pure.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/jison/pure.y -------------------------------------------------------------------------------- /benchmarks/jju/extended.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/jju/extended.js -------------------------------------------------------------------------------- /benchmarks/jju/original.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/jju/original.js -------------------------------------------------------------------------------- /benchmarks/jju/pure.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/jju/pure.js -------------------------------------------------------------------------------- /benchmarks/jju/tokenizing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/jju/tokenizing.js -------------------------------------------------------------------------------- /benchmarks/jju/unicode.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/jju/unicode.js -------------------------------------------------------------------------------- /benchmarks/myna/pure.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/myna/pure.js -------------------------------------------------------------------------------- /benchmarks/nearley/pure.ne: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/nearley/pure.ne -------------------------------------------------------------------------------- /benchmarks/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/package.json -------------------------------------------------------------------------------- /benchmarks/parse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/parse.js -------------------------------------------------------------------------------- /benchmarks/pegjs/extended.pegjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/pegjs/extended.pegjs -------------------------------------------------------------------------------- /benchmarks/pegjs/pure.pegjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/pegjs/pure.pegjs -------------------------------------------------------------------------------- /benchmarks/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/pnpm-lock.yaml -------------------------------------------------------------------------------- /benchmarks/results/errorReportingQuality.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/results/errorReportingQuality.md -------------------------------------------------------------------------------- /benchmarks/results/evaluation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/results/evaluation.md -------------------------------------------------------------------------------- /benchmarks/results/performance.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/benchmarks/results/performance.md -------------------------------------------------------------------------------- /biome.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/biome.json -------------------------------------------------------------------------------- /lib/cli.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/lib/cli.js -------------------------------------------------------------------------------- /lib/formatter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/lib/formatter.js -------------------------------------------------------------------------------- /lib/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/lib/index.d.ts -------------------------------------------------------------------------------- /lib/printer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/lib/printer.js -------------------------------------------------------------------------------- /lib/sorter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/lib/sorter.js -------------------------------------------------------------------------------- /lib/validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/lib/validator.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /rollup.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/rollup.config.mjs -------------------------------------------------------------------------------- /src/ajv.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/src/ajv.js -------------------------------------------------------------------------------- /src/configurable-parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/src/configurable-parser.js -------------------------------------------------------------------------------- /src/custom-parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/src/custom-parser.js -------------------------------------------------------------------------------- /src/native-parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/src/native-parser.js -------------------------------------------------------------------------------- /src/pointer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/src/pointer.js -------------------------------------------------------------------------------- /src/prefix.js.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/src/prefix.js.txt -------------------------------------------------------------------------------- /src/suffix.js.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/src/suffix.js.txt -------------------------------------------------------------------------------- /src/unicode.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/src/unicode.js -------------------------------------------------------------------------------- /test/.jsonrc.yml: -------------------------------------------------------------------------------- 1 | log-files: true 2 | -------------------------------------------------------------------------------- /test/fails/10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/fails/10.json -------------------------------------------------------------------------------- /test/fails/11.json: -------------------------------------------------------------------------------- 1 | {"Illegal expression": 1 + 2} -------------------------------------------------------------------------------- /test/fails/12.json: -------------------------------------------------------------------------------- 1 | {"Illegal invocation": alert()} -------------------------------------------------------------------------------- /test/fails/13.json: -------------------------------------------------------------------------------- 1 | {"Numbers cannot have leading zeroes": 013} -------------------------------------------------------------------------------- /test/fails/14.json: -------------------------------------------------------------------------------- 1 | {"Numbers cannot be hex": 0x14} -------------------------------------------------------------------------------- /test/fails/15.json: -------------------------------------------------------------------------------- 1 | ["Illegal backslash escape: \x15"] -------------------------------------------------------------------------------- /test/fails/16.json: -------------------------------------------------------------------------------- 1 | [\naked] -------------------------------------------------------------------------------- /test/fails/17.json: -------------------------------------------------------------------------------- 1 | ["Illegal backslash escape: \017"] -------------------------------------------------------------------------------- /test/fails/19.json: -------------------------------------------------------------------------------- 1 | {"Missing colon" null} -------------------------------------------------------------------------------- /test/fails/2.json: -------------------------------------------------------------------------------- 1 | ["Unclosed array" -------------------------------------------------------------------------------- /test/fails/20.json: -------------------------------------------------------------------------------- 1 | {"Double colon":: null} -------------------------------------------------------------------------------- /test/fails/21.json: -------------------------------------------------------------------------------- 1 | {"Comma instead of colon", null} -------------------------------------------------------------------------------- /test/fails/22.json: -------------------------------------------------------------------------------- 1 | ["Colon instead of comma": false] -------------------------------------------------------------------------------- /test/fails/23.json: -------------------------------------------------------------------------------- 1 | ["Bad value", truth] -------------------------------------------------------------------------------- /test/fails/24.json: -------------------------------------------------------------------------------- 1 | ['single quote'] -------------------------------------------------------------------------------- /test/fails/25.json: -------------------------------------------------------------------------------- 1 | [" tab character in string "] -------------------------------------------------------------------------------- /test/fails/26.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/fails/26.json -------------------------------------------------------------------------------- /test/fails/27.json: -------------------------------------------------------------------------------- 1 | ["line 2 | break"] -------------------------------------------------------------------------------- /test/fails/28.json: -------------------------------------------------------------------------------- 1 | ["line\ 2 | break"] -------------------------------------------------------------------------------- /test/fails/29.json: -------------------------------------------------------------------------------- 1 | [0e] -------------------------------------------------------------------------------- /test/fails/3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/fails/3.json -------------------------------------------------------------------------------- /test/fails/30.json: -------------------------------------------------------------------------------- 1 | [0e+] -------------------------------------------------------------------------------- /test/fails/31.json: -------------------------------------------------------------------------------- 1 | [0e+-1] -------------------------------------------------------------------------------- /test/fails/32.json: -------------------------------------------------------------------------------- 1 | {"Comma instead if closing brace": true, -------------------------------------------------------------------------------- /test/fails/33.json: -------------------------------------------------------------------------------- 1 | ["mismatch"} -------------------------------------------------------------------------------- /test/fails/34.json: -------------------------------------------------------------------------------- 1 | {"extra brace": 1}} 2 | -------------------------------------------------------------------------------- /test/fails/4.json: -------------------------------------------------------------------------------- 1 | ["extra comma",] -------------------------------------------------------------------------------- /test/fails/5.json: -------------------------------------------------------------------------------- 1 | ["double extra comma",,] -------------------------------------------------------------------------------- /test/fails/6.json: -------------------------------------------------------------------------------- 1 | [ , "<-- missing value"] -------------------------------------------------------------------------------- /test/fails/7.json: -------------------------------------------------------------------------------- 1 | ["Comma after the close"], -------------------------------------------------------------------------------- /test/fails/8.json: -------------------------------------------------------------------------------- 1 | ["Extra close"]] -------------------------------------------------------------------------------- /test/fails/9.json: -------------------------------------------------------------------------------- 1 | {"Extra comma": true,} -------------------------------------------------------------------------------- /test/fails/bom.json: -------------------------------------------------------------------------------- 1 | { 2 | "bom": "utf8" 3 | } 4 | -------------------------------------------------------------------------------- /test/parse1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/parse1.js -------------------------------------------------------------------------------- /test/parse2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/parse2.js -------------------------------------------------------------------------------- /test/parse3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/parse3.js -------------------------------------------------------------------------------- /test/parse4.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/parse4.js -------------------------------------------------------------------------------- /test/parse5.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/parse5.js -------------------------------------------------------------------------------- /test/passes/1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/passes/1.json -------------------------------------------------------------------------------- /test/passes/2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/passes/2.json -------------------------------------------------------------------------------- /test/passes/comments.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/passes/comments.txt -------------------------------------------------------------------------------- /test/passes/data-04.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/passes/data-04.json -------------------------------------------------------------------------------- /test/passes/data-07.json: -------------------------------------------------------------------------------- 1 | { 2 | "test": "Testing value" 3 | } 4 | -------------------------------------------------------------------------------- /test/passes/data-ext-deps.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/passes/data-ext-deps.json -------------------------------------------------------------------------------- /test/passes/data-int-deps.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/passes/data-int-deps.json -------------------------------------------------------------------------------- /test/passes/data-jtd.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/passes/data-jtd.json -------------------------------------------------------------------------------- /test/passes/hasOwnProperty.json: -------------------------------------------------------------------------------- 1 | {"hasOwnProperty":true} -------------------------------------------------------------------------------- /test/passes/json5.text: -------------------------------------------------------------------------------- 1 | { 2 | // String parameter 3 | "key": 'value', 4 | } 5 | -------------------------------------------------------------------------------- /test/passes/schema-04.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/passes/schema-04.json -------------------------------------------------------------------------------- /test/passes/schema-07.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/passes/schema-07.json -------------------------------------------------------------------------------- /test/passes/schema-ext-deps-number.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/passes/schema-ext-deps-number.json -------------------------------------------------------------------------------- /test/passes/schema-ext-deps-phone.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/passes/schema-ext-deps-phone.json -------------------------------------------------------------------------------- /test/passes/schema-ext-deps-string.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/passes/schema-ext-deps-string.json -------------------------------------------------------------------------------- /test/passes/schema-ext-deps.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/passes/schema-ext-deps.json -------------------------------------------------------------------------------- /test/passes/schema-int-deps.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/passes/schema-int-deps.json -------------------------------------------------------------------------------- /test/passes/schema-jtd.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/passes/schema-jtd.json -------------------------------------------------------------------------------- /test/passes/strings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/passes/strings.txt -------------------------------------------------------------------------------- /test/portable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/portable.js -------------------------------------------------------------------------------- /test/portable.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/portable.yaml -------------------------------------------------------------------------------- /test/print.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/print.js -------------------------------------------------------------------------------- /test/recursive/1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/recursive/1.json -------------------------------------------------------------------------------- /test/recursive/2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/recursive/2.json -------------------------------------------------------------------------------- /test/recursive/3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/recursive/3.json -------------------------------------------------------------------------------- /test/recursive/boot/auth.js: -------------------------------------------------------------------------------- 1 | console.log('auth'); 2 | -------------------------------------------------------------------------------- /test/recursive/colors/3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/recursive/colors/3.json -------------------------------------------------------------------------------- /test/recursive/colors/colors.js: -------------------------------------------------------------------------------- 1 | console.log('colors'); 2 | -------------------------------------------------------------------------------- /test/recursive/foo/3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/recursive/foo/3.json -------------------------------------------------------------------------------- /test/recursive/foo/bar/3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/recursive/foo/bar/3.json -------------------------------------------------------------------------------- /test/recursive/foo/bar/bar.js: -------------------------------------------------------------------------------- 1 | console.log('bar'); 2 | -------------------------------------------------------------------------------- /test/recursive/foo/bar/baz/1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/recursive/foo/bar/baz/1.json -------------------------------------------------------------------------------- /test/recursive/foo/bar/baz/2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/recursive/foo/bar/baz/2.json -------------------------------------------------------------------------------- /test/recursive/foo/bar/baz/3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/recursive/foo/bar/baz/3.json -------------------------------------------------------------------------------- /test/recursive/foo/bar/baz/baz.js: -------------------------------------------------------------------------------- 1 | console.log('baz'); 2 | -------------------------------------------------------------------------------- /test/recursive/foo/foo.js: -------------------------------------------------------------------------------- 1 | console.log('foo'); 2 | -------------------------------------------------------------------------------- /test/tokenize.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/tokenize.js -------------------------------------------------------------------------------- /test/types.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/types.test.ts -------------------------------------------------------------------------------- /test/v8.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8.js -------------------------------------------------------------------------------- /test/v8/arrays/empty-array.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /test/v8/arrays/no-comma-array.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/arrays/no-comma-array.txt -------------------------------------------------------------------------------- /test/v8/arrays/regular-array.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/arrays/regular-array.json -------------------------------------------------------------------------------- /test/v8/arrays/trailing-comma-array.json5: -------------------------------------------------------------------------------- 1 | [ 2 | null, 3 | ] -------------------------------------------------------------------------------- /test/v8/comments/block-comment-following-array-element.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/comments/block-comment-following-array-element.json5 -------------------------------------------------------------------------------- /test/v8/comments/block-comment-following-top-level-value.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/comments/block-comment-following-top-level-value.json5 -------------------------------------------------------------------------------- /test/v8/comments/block-comment-in-string.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/comments/block-comment-in-string.json -------------------------------------------------------------------------------- /test/v8/comments/block-comment-preceding-top-level-value.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/comments/block-comment-preceding-top-level-value.json5 -------------------------------------------------------------------------------- /test/v8/comments/block-comment-with-asterisks.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/comments/block-comment-with-asterisks.json5 -------------------------------------------------------------------------------- /test/v8/comments/inline-comment-following-array-element.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/comments/inline-comment-following-array-element.json5 -------------------------------------------------------------------------------- /test/v8/comments/inline-comment-following-top-level-value.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/comments/inline-comment-following-top-level-value.json5 -------------------------------------------------------------------------------- /test/v8/comments/inline-comment-in-string.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/comments/inline-comment-in-string.json -------------------------------------------------------------------------------- /test/v8/comments/inline-comment-preceding-top-level-value.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/comments/inline-comment-preceding-top-level-value.json5 -------------------------------------------------------------------------------- /test/v8/comments/top-level-block-comment.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/comments/top-level-block-comment.txt -------------------------------------------------------------------------------- /test/v8/comments/top-level-inline-comment.txt: -------------------------------------------------------------------------------- 1 | // This should fail; comments cannot be the top-level value. -------------------------------------------------------------------------------- /test/v8/comments/unterminated-block-comment.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/comments/unterminated-block-comment.txt -------------------------------------------------------------------------------- /test/v8/misc/empty.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/v8/misc/npm-package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/misc/npm-package.json -------------------------------------------------------------------------------- /test/v8/misc/npm-package.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/misc/npm-package.json5 -------------------------------------------------------------------------------- /test/v8/misc/readme-example.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/misc/readme-example.json5 -------------------------------------------------------------------------------- /test/v8/numbers/binary-coffeescript.txt: -------------------------------------------------------------------------------- 1 | 0b100 2 | -------------------------------------------------------------------------------- /test/v8/numbers/float-leading-decimal-point.json5: -------------------------------------------------------------------------------- 1 | .5 2 | -------------------------------------------------------------------------------- /test/v8/numbers/float-leading-zero.json: -------------------------------------------------------------------------------- 1 | 0.5 2 | -------------------------------------------------------------------------------- /test/v8/numbers/float-trailing-decimal-point-with-integer-exponent.json5: -------------------------------------------------------------------------------- 1 | 5.e4 2 | -------------------------------------------------------------------------------- /test/v8/numbers/float-trailing-decimal-point.json5: -------------------------------------------------------------------------------- 1 | 5. 2 | -------------------------------------------------------------------------------- /test/v8/numbers/float-with-integer-exponent.json: -------------------------------------------------------------------------------- 1 | 1.2e3 2 | -------------------------------------------------------------------------------- /test/v8/numbers/float.json: -------------------------------------------------------------------------------- 1 | 1.2 2 | -------------------------------------------------------------------------------- /test/v8/numbers/hexadecimal-empty.txt: -------------------------------------------------------------------------------- 1 | 0x 2 | -------------------------------------------------------------------------------- /test/v8/numbers/hexadecimal-lowercase-letter.json5: -------------------------------------------------------------------------------- 1 | 0xc8 2 | -------------------------------------------------------------------------------- /test/v8/numbers/hexadecimal-uppercase-x.json5: -------------------------------------------------------------------------------- 1 | 0XC8 2 | -------------------------------------------------------------------------------- /test/v8/numbers/hexadecimal-with-integer-exponent.json5: -------------------------------------------------------------------------------- 1 | 0xc8e4 2 | -------------------------------------------------------------------------------- /test/v8/numbers/hexadecimal.json5: -------------------------------------------------------------------------------- 1 | 0xC8 2 | -------------------------------------------------------------------------------- /test/v8/numbers/infinity.json5: -------------------------------------------------------------------------------- 1 | Infinity 2 | -------------------------------------------------------------------------------- /test/v8/numbers/integer-with-float-exponent.txt: -------------------------------------------------------------------------------- 1 | 1e2.3 2 | -------------------------------------------------------------------------------- /test/v8/numbers/integer-with-hexadecimal-exponent.txt: -------------------------------------------------------------------------------- 1 | 1e0x4 2 | -------------------------------------------------------------------------------- /test/v8/numbers/integer-with-integer-exponent.json: -------------------------------------------------------------------------------- 1 | 2e23 2 | -------------------------------------------------------------------------------- /test/v8/numbers/integer-with-negative-float-exponent.txt: -------------------------------------------------------------------------------- 1 | 1e-2.3 2 | -------------------------------------------------------------------------------- /test/v8/numbers/integer-with-negative-hexadecimal-exponent.txt: -------------------------------------------------------------------------------- 1 | 1e-0x4 2 | -------------------------------------------------------------------------------- /test/v8/numbers/integer-with-negative-integer-exponent.json: -------------------------------------------------------------------------------- 1 | 2e-23 2 | -------------------------------------------------------------------------------- /test/v8/numbers/integer-with-negative-zero-integer-exponent.json: -------------------------------------------------------------------------------- 1 | 5e-0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/integer-with-positive-float-exponent.txt: -------------------------------------------------------------------------------- 1 | 1e+2.3 2 | -------------------------------------------------------------------------------- /test/v8/numbers/integer-with-positive-hexadecimal-exponent.txt: -------------------------------------------------------------------------------- 1 | 1e+0x4 2 | -------------------------------------------------------------------------------- /test/v8/numbers/integer-with-positive-integer-exponent.json: -------------------------------------------------------------------------------- 1 | 1e+2 2 | -------------------------------------------------------------------------------- /test/v8/numbers/integer-with-positive-zero-integer-exponent.json: -------------------------------------------------------------------------------- 1 | 5e+0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/integer-with-zero-integer-exponent.json: -------------------------------------------------------------------------------- 1 | 5e0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/integer.json: -------------------------------------------------------------------------------- 1 | 15 2 | -------------------------------------------------------------------------------- /test/v8/numbers/lone-decimal-point.txt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/v8/numbers/nan.js: -------------------------------------------------------------------------------- 1 | NaN 2 | -------------------------------------------------------------------------------- /test/v8/numbers/negative-binary-coffeescript.txt: -------------------------------------------------------------------------------- 1 | -0b10 -------------------------------------------------------------------------------- /test/v8/numbers/negative-float-leading-decimal-point.json5: -------------------------------------------------------------------------------- 1 | -.5 2 | -------------------------------------------------------------------------------- /test/v8/numbers/negative-float-leading-zero.json: -------------------------------------------------------------------------------- 1 | -0.5 2 | -------------------------------------------------------------------------------- /test/v8/numbers/negative-float-trailing-decimal-point.json5: -------------------------------------------------------------------------------- 1 | -5. 2 | -------------------------------------------------------------------------------- /test/v8/numbers/negative-float.json: -------------------------------------------------------------------------------- 1 | -1.2 2 | -------------------------------------------------------------------------------- /test/v8/numbers/negative-hexadecimal.js: -------------------------------------------------------------------------------- 1 | -0xC8 2 | -------------------------------------------------------------------------------- /test/v8/numbers/negative-infinity.json5: -------------------------------------------------------------------------------- 1 | -Infinity 2 | -------------------------------------------------------------------------------- /test/v8/numbers/negative-integer.json: -------------------------------------------------------------------------------- 1 | -15 2 | -------------------------------------------------------------------------------- /test/v8/numbers/negative-octal-coffeescript.txt: -------------------------------------------------------------------------------- 1 | -0o123 2 | -------------------------------------------------------------------------------- /test/v8/numbers/negative-octal.txt: -------------------------------------------------------------------------------- 1 | -0123 2 | -------------------------------------------------------------------------------- /test/v8/numbers/negative-zero-binary-coffeescript.txt: -------------------------------------------------------------------------------- 1 | -0b0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/negative-zero-float-leading-decimal-point.json5: -------------------------------------------------------------------------------- 1 | -.0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/negative-zero-float-trailing-decimal-point.json5: -------------------------------------------------------------------------------- 1 | -0. 2 | -------------------------------------------------------------------------------- /test/v8/numbers/negative-zero-float.json: -------------------------------------------------------------------------------- 1 | -0.0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/negative-zero-hexadecimal.js: -------------------------------------------------------------------------------- 1 | -0x0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/negative-zero-integer.json: -------------------------------------------------------------------------------- 1 | -0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/negative-zero-octal-coffeescript.txt: -------------------------------------------------------------------------------- 1 | -0o0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/negative-zero-octal.txt: -------------------------------------------------------------------------------- 1 | -00 2 | -------------------------------------------------------------------------------- /test/v8/numbers/octal-coffeescript.txt: -------------------------------------------------------------------------------- 1 | 0o200 2 | -------------------------------------------------------------------------------- /test/v8/numbers/octal.txt: -------------------------------------------------------------------------------- 1 | 010 2 | -------------------------------------------------------------------------------- /test/v8/numbers/positive-binary-coffeescript.txt: -------------------------------------------------------------------------------- 1 | +0b10 -------------------------------------------------------------------------------- /test/v8/numbers/positive-float-leading-decimal-point.json5: -------------------------------------------------------------------------------- 1 | +.5 2 | -------------------------------------------------------------------------------- /test/v8/numbers/positive-float-leading-zero.json5: -------------------------------------------------------------------------------- 1 | +0.5 2 | -------------------------------------------------------------------------------- /test/v8/numbers/positive-float-trailing-decimal-point.json5: -------------------------------------------------------------------------------- 1 | +5. 2 | -------------------------------------------------------------------------------- /test/v8/numbers/positive-float.json5: -------------------------------------------------------------------------------- 1 | +1.2 2 | -------------------------------------------------------------------------------- /test/v8/numbers/positive-hexadecimal.js: -------------------------------------------------------------------------------- 1 | +0xC8 2 | -------------------------------------------------------------------------------- /test/v8/numbers/positive-infinity.json5: -------------------------------------------------------------------------------- 1 | +Infinity 2 | -------------------------------------------------------------------------------- /test/v8/numbers/positive-integer.json5: -------------------------------------------------------------------------------- 1 | +15 2 | -------------------------------------------------------------------------------- /test/v8/numbers/positive-octal-coffeescript.txt: -------------------------------------------------------------------------------- 1 | +0o123 2 | -------------------------------------------------------------------------------- /test/v8/numbers/positive-octal.txt: -------------------------------------------------------------------------------- 1 | +0123 2 | -------------------------------------------------------------------------------- /test/v8/numbers/positive-zero-binary-coffeescript.txt: -------------------------------------------------------------------------------- 1 | +0b0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/positive-zero-float-leading-decimal-point.json5: -------------------------------------------------------------------------------- 1 | +.0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/positive-zero-float-trailing-decimal-point.json5: -------------------------------------------------------------------------------- 1 | +0. 2 | -------------------------------------------------------------------------------- /test/v8/numbers/positive-zero-float.json5: -------------------------------------------------------------------------------- 1 | +0.0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/positive-zero-hexadecimal.js: -------------------------------------------------------------------------------- 1 | +0x0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/positive-zero-integer.json5: -------------------------------------------------------------------------------- 1 | +0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/positive-zero-octal-coffeescript.txt: -------------------------------------------------------------------------------- 1 | +0o0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/positive-zero-octal.txt: -------------------------------------------------------------------------------- 1 | +00 2 | -------------------------------------------------------------------------------- /test/v8/numbers/zero-binary-coffeescript.txt: -------------------------------------------------------------------------------- 1 | 0b0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/zero-float-leading-decimal-point.json5: -------------------------------------------------------------------------------- 1 | .0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/zero-float-trailing-decimal-point.json5: -------------------------------------------------------------------------------- 1 | 0. 2 | -------------------------------------------------------------------------------- /test/v8/numbers/zero-float.json: -------------------------------------------------------------------------------- 1 | 0.0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/zero-hexadecimal.json5: -------------------------------------------------------------------------------- 1 | 0x0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/zero-integer-with-integer-exponent.json: -------------------------------------------------------------------------------- 1 | 0e23 2 | -------------------------------------------------------------------------------- /test/v8/numbers/zero-integer.json: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/zero-octal-coffeescript.txt: -------------------------------------------------------------------------------- 1 | 0o0 2 | -------------------------------------------------------------------------------- /test/v8/numbers/zero-octal.txt: -------------------------------------------------------------------------------- 1 | 00 2 | -------------------------------------------------------------------------------- /test/v8/objects/empty-object.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /test/v8/objects/illegal-unquoted-key-number.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/objects/illegal-unquoted-key-number.txt -------------------------------------------------------------------------------- /test/v8/objects/illegal-unquoted-key-symbol.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/objects/illegal-unquoted-key-symbol.txt -------------------------------------------------------------------------------- /test/v8/objects/leading-comma-object.txt: -------------------------------------------------------------------------------- 1 | { 2 | ,"foo": "bar" 3 | } -------------------------------------------------------------------------------- /test/v8/objects/lone-trailing-comma-object.txt: -------------------------------------------------------------------------------- 1 | { 2 | , 3 | } -------------------------------------------------------------------------------- /test/v8/objects/no-comma-object.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/objects/no-comma-object.txt -------------------------------------------------------------------------------- /test/v8/objects/reserved-unquoted-key.json5: -------------------------------------------------------------------------------- 1 | { 2 | while: true 3 | } -------------------------------------------------------------------------------- /test/v8/objects/single-quoted-key.json5: -------------------------------------------------------------------------------- 1 | { 2 | 'hello': "world" 3 | } -------------------------------------------------------------------------------- /test/v8/objects/trailing-comma-object.json5: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "bar", 3 | } -------------------------------------------------------------------------------- /test/v8/objects/unquoted-keys.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/objects/unquoted-keys.json5 -------------------------------------------------------------------------------- /test/v8/strings/escaped-single-quoted-string.json5: -------------------------------------------------------------------------------- 1 | 'I can\'t wait' -------------------------------------------------------------------------------- /test/v8/strings/multi-line-string.json5: -------------------------------------------------------------------------------- 1 | 'hello\ 2 | world' -------------------------------------------------------------------------------- /test/v8/strings/single-quoted-string.json5: -------------------------------------------------------------------------------- 1 | 'hello world' -------------------------------------------------------------------------------- /test/v8/strings/unescaped-multi-line-string.txt: -------------------------------------------------------------------------------- 1 | "foo 2 | bar" 3 | -------------------------------------------------------------------------------- /test/v8/todo/unicode-escaped-unquoted-key.json5: -------------------------------------------------------------------------------- 1 | { 2 | sig\u03A3ma: "the sum of all things" 3 | } -------------------------------------------------------------------------------- /test/v8/todo/unicode-unquoted-key.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/test/v8/todo/unicode-unquoted-key.json5 -------------------------------------------------------------------------------- /web/jsonlint.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prantlf/jsonlint/HEAD/web/jsonlint.html --------------------------------------------------------------------------------