3 ms·
> The whole reason JSON rules the world is because it's brutally simple. I don't think that's the primary reason. JSON is pervasive because it started out bein
by JoshTriplett 2y ago
> The whole reason JSON rules the world is because it's brutally simple.
I don't think that's the primary reason. JSON is pervasive because it started out being trivially parseable by JavaScript going back to when people just evaluated it, even before browsers had ridiculously high-perfomance safe JSON parsers. All the other formats are still harder to work with from JavaScript.
If not for that, personally I'd advocate TOML, which is incredibly simple.
- bobbylarrybobby 2y agoI find toml impossible to both read and write in all but the simplest cases.
- peeters 2y ago> trivially parseable by JavaScript going back to when people just evaluated it Comments and all, ironically. I mean sure, "and all" would frequently include script injections etc, but you can't argue it wasn't more feature rich!