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

Support trailing commas in Json lenient mode #1812

Closed
qwwdfsad opened this issue Dec 30, 2021 · 1 comment
Closed

Support trailing commas in Json lenient mode #1812

qwwdfsad opened this issue Dec 30, 2021 · 1 comment

Comments

@qwwdfsad
Copy link
Collaborator

The original use-case is to parse-out handwritten configuration JSON where the use of trailing commas is just a convenience (e.g. for prettier git diff), but we would also like to hear other use-cases.

@aSemy
Copy link
Contributor

aSemy commented Jan 6, 2022

I think this would also help with JSON5 support #797

@xn32 xn32 mentioned this issue Sep 20, 2022
sandwwraith added a commit that referenced this issue Oct 17, 2023
This is one of the popular community requests and one of the main reasons people ask for Json5 support.
Implementing this flag separately will allow alleviating large paint points quickly without a need to wait for full Json5 support.

Fixes #1812
Relates to: #797, #2221
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants