5 ms·
Can I ask why YAML wasn't good enough?
by zacharyvoase 14y ago
Can I ask why YAML wasn't good enough?
- chc 14y agoMy thoughts exactly. YAML is a superset of JSON that already has all this stuff and more.
- aseemk 14y agoI actually had no idea that YAML is a superset of JSON. Thanks! I'll look into it.
- erikpukinskis 14y agoPartly because JSON has the lovely feature of being able to just eval() it into an object in browsers.
- deleted 14y ago[deleted]
- alcuadrado 14y agoThat's not the right way to parse JSON, it's really insecure
- Too 14y agoAnd slow, JSON.parse is magnitudes faster than using user-javascript to parse it yourself.
- chc 14y agoThat's not really a lovely feature in this day and age. If anything it's an unfortunate artifact, as the right way to deserialize JSON is JSON.parse().
- silentbicycle 14y agoFor the same reason sexps weren't good enough, apparently.