Hacker News new | ask | show | jobs
by tirpen 995 days ago
I believe that's JSON5.

https://github.com/json5/json5

It's my preferred configuration file format, it fixes all the problems I have with JSON (trailing commas, comments) without turning it into a mess full of gotchas like YAML.

1 comments

Actually no, it’s something called jsonc.

It’s without a spec

https://github.com/microsoft/vscode/issues/100688

https://github.com/microsoft/node-jsonc-parser

Why in god's name did Microsoft insist on going their own way on this?
What do I know.

A theory - they don’t want a third party code in a hot path (they do care about performance in vscode), they already have a very performant parser and they don’t want to add a complexity there.

But that’s just a theory.