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

JSON with comments (JSONC) support #61

Closed
antfu opened this issue Jul 19, 2019 · 1 comment
Closed

JSON with comments (JSONC) support #61

antfu opened this issue Jul 19, 2019 · 1 comment

Comments

@antfu
Copy link
Contributor

antfu commented Jul 19, 2019

In some use case, we may need to keep comments inside locale files. Although YAML and JSON5 supports comments, but due to the parser limitation, it's not possible to keep comments on dumping. The current workaround is to make this extension in readonly mode when we need to use comments.

This issue is to support JSONC(microsoft/node-jsonc-parser) from vscode to make comments work well.

Relative to #59
Refer to https://github.com/antfu/vue-i18n-ally#comments-in-yamljson5

@stale
Copy link

stale bot commented Aug 18, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 18, 2019
@stale stale bot closed this as completed Aug 25, 2019
@antfu antfu added the 0.x vue-i18n-ally label Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant