gbowne1 / gbowne1/jsonify

Weak correctJson

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.