Skip to content

Conversation

daemonfire300
Copy link

Even though this is just an example it should be valid json. This can confuse unexperienced developers.

Even though this is just an example it should be valid json. This can confuse unexperienced developers.
@hudsonm62
Copy link

hudsonm62 commented Feb 15, 2025

whats not valid about it?

edit: devcontainer.json supports comments - Are you using VSCode with the Dev Containers extension?

@daemonfire300
Copy link
Author

For example, https://go.dev/play/p/iy_oG94cKpJ will fail to parse the JSON.

The file is just not valid JSON. Basic JSON does not allow comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants