We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description of the issue
JSON files fail to be read the file starts with a comment on the first line instead of an object or array.
To Reproduce
Steps to reproduce the issue:
// For format details, see https://aka.ms/devcontainer.json. { }
Expected behaviour
Should handle comments in JSON.
Error output
Read JSON failed.
Module in use and version:
Captured output from $PSVersionTable:
$PSVersionTable
Name Value ---- ----- PSVersion 7.2.2 PSEdition Core GitCommitId 7.2.2 OS Microsoft Windows 10.0.22000 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0
The text was updated successfully, but these errors were encountered:
Fix JSON parsing and null ref microsoft#1051 microsoft#1054 microsoft…
2b1196a
…#1052
Fix JSON parsing and null ref #1051 #1054 #1052 (#1055)
8764d83
* Fix JSON parsing and null ref #1051 #1054 #1052 * Fix updated line number in tests
BernieWhite
Successfully merging a pull request may close this issue.
Description of the issue
JSON files fail to be read the file starts with a comment on the first line instead of an object or array.
To Reproduce
Steps to reproduce the issue:
Expected behaviour
Should handle comments in JSON.
Error output
Module in use and version:
Captured output from
$PSVersionTable
:The text was updated successfully, but these errors were encountered: