Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Unquoted key doesn't show diagnostic error #1

Open
mchelen opened this issue Oct 31, 2017 · 0 comments
Open

Unquoted key doesn't show diagnostic error #1

mchelen opened this issue Oct 31, 2017 · 0 comments

Comments

@mchelen
Copy link

mchelen commented Oct 31, 2017

When editing this JSON the unquoted keys are highlighted red, but no errors or warnings appear in the diagnostic panel:

{
	hello: "world",
	foo: "bar"
}

Other JSON validators show errors like:

Error: Parse error on line 1:
{	hello: "world",	foo
--^
Expecting 'STRING', '}', got 'undefined'

or

Error:Strings should be wrapped in double quotes.[Code 17, Structure 2]
Error:Strings should be wrapped in double quotes.[Code 17, Structure 6]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant