Weak correctJson
Open
bug
documentation
enhancement
good first issue
help wanted
question
- Dominant language
- C++
- Stars
- 4
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
We have a very weak correctJson heuristic
- Current version only tries to insert missing commas before } and ] — but it breaks when inside strings
- doesn't handle missing commas between values
- doesn't fix trailing commas
- doesn't fix single quotes → double quotes
- doesn't fix unquoted keys
- doesn't fix comments (even though you have --jsonc)
→ rename it to naiveCommaInserter or remove --fix until it's actually useful. Or just improve this condition
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.