Support for JSONC
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Go
- Stars
- 38.1k
- Forks
- 4.6k
- Avg merge
- 19d 15h
- Merged PRs (30d)
- 1
Description
Technically sing-box already supports JSONC, at least in conifg. Problem is it reads config only from files with .json extenssion. Would be nice if .jsonc extenssion was also allowed. It might improve integration with tools that expect comments only in .jsonc files.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the configuration-loading entry point that restricts input files to the .json extension. Check how existing JSONC support is applied to file-based configuration, then verify that .jsonc files are accepted without changing current .json behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100