jsonlint icon indicating copy to clipboard operation
jsonlint copied to clipboard

why don't you allow "values"?

Open dharasty opened this issue 12 years ago • 2 comments

The website http://jsonlint.com/ says it is based on this library. However, that site has the following bug: it rejects valid JSON that is NOT an object or an array. These strings are all valid JSON:

1 12 12.34 "string" true false null

Should this be corrected in this library?

dharasty avatar Jan 24 '14 21:01 dharasty

just to make clear: This is an issue with the site ("a service") using this library not with the code. The current version of this repository code validates all of the above.

redaktor avatar Aug 15 '14 11:08 redaktor

Looks like this issue should be closed now. The site works as you would expect, asserting true for validation when using values.

Relequestual avatar Apr 20 '19 21:04 Relequestual