3 ms·
JSON5 exists and allows both comments and trailing commas. It's basically like defining objects in plain JavaScript syntax.
by alpaca128 4y ago
JSON5 exists and allows both comments and trailing commas. It's basically like defining objects in plain JavaScript syntax.
- jgalt212 4y agowhat's the difference between JSON5 and the config language that vs code uses ,JSON + comments (as best I can tell).
- nicoburns 4y agoJSON5 also allows extra things like single-quoting strings and multiline strings. VS Code uses JSONC which is strictly trailing commas and comments on top of JSON