3 ms·
Whenever I need to use JSON in my projects I always check if I can use JSON5 instead. It really makes a difference to have a more user friendly format. My only
by pjbk 4y ago
Whenever I need to use JSON in my projects I always check if I can use JSON5 instead. It really makes a difference to have a more user friendly format. My only gripe is when I use Python, the official JSON5 module is much, much slower than Python's JSON parser. I frequently end up translating the development JSON5 files to JSON files that go into the final runtime because of this.
- moffkalast 4y agoAs much as the spec for this looks like a list of features that one hardly believes are absent from the original JSON, this just makes things worse as you now have to check which type you're working with, as if there are already not enough places for things to break. https://xkcd.com/927/ https://xkcd.com/927/
- smitty1e 4y agoI'd never heard of JSON5 ahead of this post. As long as we're clear that JSON5 never gets a .json extension, what is the problem?