Skip to content
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

[WIP] Add JSONc support #93

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

[WIP] Add JSONc support #93

wants to merge 1 commit into from

Conversation

ml-evs
Copy link

@ml-evs ml-evs commented Feb 20, 2024

Check List

Resolves: #92.

  • I added tests for the changed code.
  • I updated the documentation for the changed code.
  • I ran the full tox test suite locally, so the CI pipelines should be green.
  • I added the change to the CHANGELOG.md file.

This is still WIP as the case for handling inline comments is not covered (without breaking when e.g., // is used inside a key or value).

I'm also having a hard time finding a well-defined standard. https://komkom.github.io/jsonc/ provides some example for Go, and VSCode uses something pretty similar: https://code.visualstudio.com/docs/languages/json#_json-with-comments -- so the question how useful this really is depends on how widespread its usage is.

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.

[Feature]: JSONC (JSON with comments) support
1 participant