dotnet / vscode-csharp

Official C# support for Visual Studio Code
MIT License
2.85k stars 670 forks source link

Use jsonc-parser for parsing JSON #1237

Closed DustinCampbell closed 3 weeks ago

DustinCampbell commented 7 years ago

This is the JSON scanner that is used in VS Code for parsing JSON files that include comments. We should use that instead of our home-rolled scanner.

DustinCampbell commented 7 years ago

We should also remove the json.tolerantParse(...) API in favor of this. (https://github.com/OmniSharp/omnisharp-vscode/issues/1076)

JoeRobich commented 3 weeks ago

Closing as it seems the jsonc-parser was adopted at some point.