-
Notifications
You must be signed in to change notification settings - Fork 28.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SyntaxError: Expected double-quoted property name in JSON #215399
Comments
Can you check if your The failing parse statement is here: vscode/src/vs/code/electron-main/app.ts Line 1440 in 94c4337
@bpasero Would be good to have better error reporting for malformed |
/duplicate #212671 |
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines. Happy Coding! |
@aeschli is there a way to safely parse a JSON with comments and syntax errors? |
This is my
I can only think about the last ...And, yes! After removing the trailing
|
@bpasero Our own JSON parser is fault tolerant and can also handle comments and extra semicolons. I've seen that we have multiple places in the code base where we read and parse |
Type: Bug
Open a brand new Visual Studio Code:
VS Code version: Code 1.90.0 (89de5a8, 2024-06-04T19:33:54.889Z)
OS version: Windows_NT x64 10.0.22631
Modes:
The text was updated successfully, but these errors were encountered: