3 ms·
I would rather recommend jsonc: - it has good editor support (VsCode) - has comments support - Support jsonschema Only thing missing is trailing commas, but i
by rk06 5y ago
I would rather recommend jsonc:
- it has good editor support (VsCode)
- has comments support
- Support jsonschema
Only thing missing is trailing commas, but i would rather live without trailing commas than tooling support
- IshKebab 5y agoJSONC supports trailing commas. > - it has good editor support (VsCode) Unfortunately it doesn't really because of the extension issue I mentioned. Certain file names (like `tsconfig.json`) are whitelisted to have JSONC support, but any random file `foo.json` will be treated as JSON and give you annoying lints if you put comments and trailing commas in. That's a fairly recent change I think.